ALT Linux Bugzilla
– Attachment 1801 Details for
Bug 10836
Невозможность использования GLUT при использовании GLEW.
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Fix problem when using GLEW and GLUT together.
glew.patch (text/plain), 717 bytes, created by
serpiph
on 2007-02-15 01:51:03 MSK
(
hide
)
Description:
Fix problem when using GLEW and GLUT together.
Filename:
MIME Type:
Creator:
serpiph
Created:
2007-02-15 01:51:03 MSK
Size:
717 bytes
patch
obsolete
>diff -Naur glew.orig/include/GL/glew.h glew/include/GL/glew.h >--- glew.orig/include/GL/glew.h 2006-11-21 10:37:19 +0300 >+++ glew/include/GL/glew.h 2007-02-15 01:01:34 +0300 >@@ -1123,6 +1123,11 @@ > #include <GL/glu.h> > #endif > >+#ifdef GLEW_APIENTRY_DEFINED >+#define GLAPIENTRY_GLEW GLAPIENTRY >+#define APIENTRY_GLEW APIENTRY >+#endif >+ > /* ----------------------------- GL_VERSION_1_2 ---------------------------- */ > > #ifndef GL_VERSION_1_2 >@@ -10636,7 +10641,11 @@ > #ifdef GLEW_APIENTRY_DEFINED > #undef GLEW_APIENTRY_DEFINED > #undef APIENTRY >+#define APIENTRY APIENTRY_GLEW >+#undef APIENTRY_GLEW > #undef GLAPIENTRY >+#define GLAPIENTRY GLAPIENTRY_GLEW >+#undef GLAPIENTRY_GLEW > #endif > > #ifdef GLEW_CALLBACK_DEFINED
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10836
: 1801 |
1863