Title: [152325] trunk/Source/WebCore
- Revision
- 152325
- Author
- [email protected]
- Date
- 2013-07-02 15:18:37 -0700 (Tue, 02 Jul 2013)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (152324 => 152325)
--- trunk/Source/WebCore/ChangeLog 2013-07-02 22:12:18 UTC (rev 152324)
+++ trunk/Source/WebCore/ChangeLog 2013-07-02 22:18:37 UTC (rev 152325)
@@ -1,3 +1,13 @@
+2013-07-02 Alex Christensen <[email protected]>
+
+ 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.
+
2013-07-02 Jer Noble <[email protected]>
media/unsupported-rtsp.html is failing
Modified: trunk/Source/WebCore/platform/graphics/OpenGLShims.cpp (152324 => 152325)
--- trunk/Source/WebCore/platform/graphics/OpenGLShims.cpp 2013-07-02 22:12:18 UTC (rev 152324)
+++ trunk/Source/WebCore/platform/graphics/OpenGLShims.cpp 2013-07-02 22:18:37 UTC (rev 152325)
@@ -44,6 +44,11 @@
return reinterpret_cast<void*>(context->getProcAddress(procName));
return 0;
}
+#elif PLATFORM(WIN)
+static void* getProcAddress(const char* procName)
+{
+ return GetProcAddress(GetModuleHandleA("libGLESv2"), procName);
+}
#else
typedef void* (*glGetProcAddressType) (const char* procName);
static void* getProcAddress(const char* procName)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes