Sebastian Lackner : opengl32: Add alternative function for glVertexAttribDivisor.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Dec 12 10:41:42 CST 2015


Module: wine
Branch: master
Commit: f915f9db4cc11d58006efaa9b54710020ca1f9d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f915f9db4cc11d58006efaa9b54710020ca1f9d3

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Fri Dec 11 05:33:23 2015 +0100

opengl32: Add alternative function for glVertexAttribDivisor.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/opengl32/wgl.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index 88aa564..f3f78ef 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -881,7 +881,8 @@ PROC WINAPI wglGetProcAddress( LPCSTR name )
             unsigned int i;
             static const struct { const char *name, *alt; } alternatives[] =
             {
-                { "glCopyTexSubImage3DEXT", "glCopyTexSubImage3D" },  /* needed by RuneScape */
+                { "glCopyTexSubImage3DEXT", "glCopyTexSubImage3D" },     /* needed by RuneScape */
+                { "glVertexAttribDivisor", "glVertexAttribDivisorARB"},  /* needed by Caffeine */
             };
 
             for (i = 0; i < sizeof(alternatives)/sizeof(alternatives[0]); i++)




More information about the wine-cvs mailing list