VirtualBox

Ignore:
Timestamp:
Jan 26, 2009 10:27:58 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42010
Message:

crOpenGL: add wglGetExtensionsStringARB extension

Location:
trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/wgl.c

    r16219 r16220  
    460460const GLubyte * WINAPI wglGetExtensionsStringEXT_prox( HDC hdc )
    461461{
    462     static GLubyte *retval = "WGL_EXT_pixel_format WGL_ARB_multisample";
     462    /*static GLubyte *retval = "WGL_EXT_pixel_format WGL_ARB_multisample";*/
     463    static GLubyte *retval = "WGL_ARB_multisample";
    463464
    464465    (void) hdc;
  • trunk/src/VBox/Additions/WINNT/Graphics/crOpenGL/windows_getprocaddress.py

    r16219 r16220  
    1818#include "icd_drv.h"
    1919#include "cr_gl.h"
     20#include "cr_error.h"
    2021
    2122#ifdef WINDOWS
     
    9192};
    9293
     94extern const GLubyte * WINAPI wglGetExtensionsStringEXT_prox( HDC hdc );
     95
    9396CR_PROC CR_APIENTRY crGetProcAddress( const char *name )
    9497{
    9598    int i;
     99    wglGetExtensionsStringEXTFunc_t wglGetExtensionsStringEXT = wglGetExtensionsStringEXT_prox;
     100
    96101    stubInit();
    97102
     
    101106        }
    102107    }
     108   
     109    if (!crStrcmp( name, "wglGetExtensionsStringARB" )) return (CR_PROC) wglGetExtensionsStringEXT;
    103110
     111    crDebug("Returning GetProcAddress:NULL for %s", name);
    104112    return NULL;
    105113}
     
    110118
    111119# XXX should crGetProcAddress really handle WGL/GLX functions???
    112 
    113120print_foo = """
    114121/* As these are Windows specific (i.e. wgl), define these now.... */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette