Changeset 152325 in webkit


Ignore:
Timestamp:
Jul 2, 2013 3:18:37 PM (11 years ago)
Author:
achristensen@apple.com
Message:

Added getProcAddress implementation for Windows in OpenGLShims.
https://bugs.webkit.org/show_bug.cgi?id=118312

Reviewed by Brent Fulgham.

  • platform/graphics/OpenGLShims.cpp:

(WebCore::getProcAddress): Added for Windows.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r152324 r152325  
     12013-07-02  Alex Christensen  <achristensen@apple.com>
     2
     3        Added getProcAddress implementation for Windows in OpenGLShims.
     4        https://bugs.webkit.org/show_bug.cgi?id=118312
     5
     6        Reviewed by Brent Fulgham.
     7
     8        * platform/graphics/OpenGLShims.cpp:
     9        (WebCore::getProcAddress): Added for Windows.
     10
    1112013-07-02  Jer Noble  <jer.noble@apple.com>
    212
  • trunk/Source/WebCore/platform/graphics/OpenGLShims.cpp

    r152282 r152325  
    4444        return reinterpret_cast<void*>(context->getProcAddress(procName));
    4545    return 0;
     46}
     47#elif PLATFORM(WIN)
     48static void* getProcAddress(const char* procName)
     49{
     50    return GetProcAddress(GetModuleHandleA("libGLESv2"), procName);
    4651}
    4752#else
Note: See TracChangeset for help on using the changeset viewer.