[2/2] opengl32: Add alternative function for glVertexAttribDivisor.

Sebastian Lackner sebastian at fds-team.de
Thu Dec 10 22:33:23 CST 2015


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

Fixes https://bugs.winehq.org/show_bug.cgi?id=39769.

 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 41d1584..465602b 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -861,7 +861,8 @@ static void *get_driver_proc_address( const char *name, const OpenGL_extension *
         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 */
         };
 
         WARN("Extension %s required for %s not supported\n", ext_ret->extension, name);
-- 
2.6.2



More information about the wine-patches mailing list