Changeset 18548 in vbox for trunk/src/VBox/Additions/common/crOpenGL
- Timestamp:
- Mar 30, 2009 1:44:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/glx_c_exports.c
r18547 r18548 77 77 void * VBOXGLXENTRYTAG(glXAllocateMemoryMESA)(Display *dpy, int scrn, 78 78 size_t size, float readFreq, 79 float writeFreq, float priority) ;79 float writeFreq, float priority) 80 80 { 81 81 return glxim.AllocateMemoryMESA(dpy, scrn, size, readFreq, writeFreq, priority); … … 84 84 GLuint VBOXGLXENTRYTAG(glXGetMemoryOffsetMESA)(Display *dpy, int scrn, const void *pointer ) 85 85 { 86 return glxim.GetMemoryOffsetMESA(dpy, scr , pointer);86 return glxim.GetMemoryOffsetMESA(dpy, scrn, pointer); 87 87 } 88 88 … … 97 97 void VBOXGLXENTRYTAG(glXCopyContext)( Display *dpy, GLXContext src, GLXContext dst, 98 98 #if defined(SunOS) 99 unsigned long mask) ;99 unsigned long mask) 100 100 #else 101 unsigned long mask) ;101 unsigned long mask) 102 102 #endif 103 103 { 104 return glxim.CopyContext(dpy, .src, dst, mask);104 return glxim.CopyContext(dpy, src, dst, mask); 105 105 } 106 106 … … 330 330 int VBOXGLXENTRYTAG(glXGetFBConfigAttrib)(Display *dpy, GLXFBConfig config, int attribute, int *value) 331 331 { 332 return glxim.GetFBConfigAttrib(dp , config, attribute, value);332 return glxim.GetFBConfigAttrib(dpy, config, attribute, value); 333 333 } 334 334 … … 350 350 Bool VBOXGLXENTRYTAG(glXMakeContextCurrent)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx) 351 351 { 352 return glxim.MakeContextCurrent(dis aply, draw, read, ctx);352 return glxim.MakeContextCurrent(display, draw, read, ctx); 353 353 } 354 354 … … 368 368 } 369 369 370 /* 370 371 #ifdef CR_EXT_texture_from_pixmap 371 372 void VBOXGLXENTRYTAG(glXBindTexImageEXT)(Display *dpy, GLXDrawable draw, int buffer, const int *attrib_list) … … 379 380 } 380 381 #endif 382 */ 381 383 382 384 #endif /* GLX_EXTRAS */
Note:
See TracChangeset
for help on using the changeset viewer.