Changeset 22011 in vbox for trunk/src/VBox/Additions/common/crOpenGL/windows_getprocaddress.py
- Timestamp:
- Aug 5, 2009 7:20:36 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50746
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/windows_getprocaddress.py
r22010 r22011 97 97 extern BOOL WINAPI wglGetPixelFormatAttribivEXT_prox(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, int *pValues); 98 98 extern BOOL WINAPI wglGetPixelFormatAttribfvEXT_prox(HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, int *piAttributes, float *pValues); 99 extern BOOL WINAPI wglSwapIntervalEXT_prox(int interval);100 extern int WINAPI wglGetSwapIntervalEXT_prox(void);101 102 void WINAPI LockArraysEXT (GLint first, GLsizei count)103 {104 }105 106 void WINAPI UnlockArraysEXT (void)107 {108 }109 99 110 100 CR_PROC CR_APIENTRY crGetProcAddress( const char *name ) … … 116 106 wglGetPixelFormatAttribivEXTFunc_t wglGetPixelFormatAttribivEXT = wglGetPixelFormatAttribivEXT_prox; 117 107 wglGetPixelFormatAttribfvEXTFunc_t wglGetPixelFormatAttribfvEXT = wglGetPixelFormatAttribfvEXT_prox; 118 wglSwapIntervalEXTFunc_t wglSwapIntervalEXT = wglSwapIntervalEXT_prox;119 wglGetSwapIntervalEXTFunc_t wglGetSwapIntervalEXT = wglGetSwapIntervalEXT_prox;120 121 108 122 109 stubInit(); … … 139 126 if (!crStrcmp( name, "wglGetPixelFormatAttribivARB" )) return (CR_PROC) wglGetPixelFormatAttribivEXT; 140 127 if (!crStrcmp( name, "wglGetPixelFormatAttribfvARB" )) return (CR_PROC) wglGetPixelFormatAttribfvEXT; 141 142 if (!crStrcmp( name, "wglSwapIntervalEXT" )) return (CR_PROC) wglSwapIntervalEXT;143 if (!crStrcmp( name, "wglGetSwapIntervalEXT" )) return (CR_PROC) wglGetSwapIntervalEXT;144 145 if (!crStrcmp( name, "glLockArraysEXT" )) return (CR_PROC) LockArraysEXT;146 if (!crStrcmp( name, "glUnlockArraysEXT" )) return (CR_PROC) UnlockArraysEXT;147 128 148 129 crDebug("Returning GetProcAddress:NULL for %s", name);
Note:
See TracChangeset
for help on using the changeset viewer.