VirtualBox

Changeset 3451 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jul 5, 2007 11:51:27 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22663
Message:

openGL extension support (start)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/Makefile.kmk

    r3339 r3451  
    4040        OGLComplexSync.cpp \
    4141        OGLComplexAsync.cpp \
     42        glext.cpp \
    4243        OGLLookup.cpp \
    4344        MesaGL.cpp \
  • trunk/src/VBox/Additions/WINNT/Graphics/OpenGL/glext.cpp

    r3339 r3451  
    2424 */
    2525
     26#include "VBoxOGL.h"
     27#include <VBox/HostServices/wglext.h>
     28
     29#if 0
    2630 GL_ARB_multitexture
    2731 GL_EXT_texture_env_add
     
    101105 WGL_EXT_extensions_string
    102106 WGL_EXT_swap_control
     107#endif
     108
     109
     110BOOL WINAPI wglSwapIntervalEXT(int interval)
     111{
     112    VBOX_OGL_GEN_SYNC_OP1_RET(BOOL, wglSwapIntervalEXT, interval);
     113    return retval;
     114}
     115
     116int WINAPI wglGetSwapIntervalEXT(void)
     117{
     118    VBOX_OGL_GEN_SYNC_OP_RET(int, wglGetSwapIntervalEXT);
     119    return retval;
     120}
     121
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