Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 55464 Details for
Bug 75066
[EBUILD] Crown and Cutlass 1.4
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
crowncutlass-gl.patch
crowncutlass-gl.patch (text/plain), 1.51 KB, created by
Christoph Brill (egore) (RESIGNED)
on 2005-04-06 06:55:44 UTC
(
hide
)
Description:
crowncutlass-gl.patch
Filename:
MIME Type:
Creator:
Christoph Brill (egore) (RESIGNED)
Created:
2005-04-06 06:55:44 UTC
Size:
1.51 KB
patch
obsolete
>--- src/extensions.cpp.orig 2004-10-29 07:27:21.000000000 +0200 >+++ src/extensions.cpp 2005-02-20 15:46:25.958197272 +0100 >@@ -31,14 +31,14 @@ > // For VAs and VBOs > PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements = 0; > >+#endif >+ > // VBO functions > PFNGLGENBUFFERSARBPROC glGenBuffers = 0; > PFNGLBINDBUFFERARBPROC glBindBuffer = 0; > PFNGLBUFFERDATAARBPROC glBufferData = 0; > PFNGLDELETEBUFFERSARBPROC glDeleteBuffers = 0; > >-#endif >- > void initExtensions() { > > #if defined (WIN32) >--- src/extensions.h.orig 2004-10-29 07:27:21.000000000 +0200 >+++ src/extensions.h 2005-02-20 15:44:46.582304704 +0100 >@@ -17,7 +17,6 @@ > #endif > #include <GL/glext.h> > >- > #if defined (WIN32) > > // Multitexturing functions >@@ -29,12 +28,20 @@ > // For VAs and VBOs > extern PFNGLDRAWRANGEELEMENTSPROC glDrawRangeElements; > >+#else > // VBO Extension Function Pointers > extern PFNGLGENBUFFERSARBPROC glGenBuffers; > extern PFNGLBINDBUFFERARBPROC glBindBuffer; > extern PFNGLBUFFERDATAARBPROC glBufferData; > extern PFNGLDELETEBUFFERSARBPROC glDeleteBuffers; >- >+#ifndef GL_ARRAY_BUFFER_ARB >+#define GL_ARRAY_BUFFER_ARB 0x8892 >+#define GL_STATIC_DRAW_ARB 0x88E4 >+typedef void (APIENTRY * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer); >+typedef void (APIENTRY * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers); >+typedef void (APIENTRY * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers); >+typedef void (APIENTRY * PFNGLBUFFERDATAARBPROC) (GLenum target, int size, const GLvoid *data, GLenum usage); >+#endif > #endif > > void initExtensions();
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 75066
:
46444
|
46445
|
51667
|
55464
|
66125