VirtualBox

Ignore:
Timestamp:
Jul 11, 2020 11:08:39 PM (5 years ago)
Author:
vboxsync
Message:

OpenGLTest/darwin: Use the right template and disable warning/error about deprecated API. bugref:9790

Location:
trunk/src/VBox/Main/src-helper-apps/OpenGLTest
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-helper-apps/OpenGLTest/Makefile.kmk

    r84790 r85246  
    2424#
    2525LIBRARIES += VBoxOGLTest
     26ifneq ($(KBUILD_TARGET),darwin)
     27## @todo r=bird: Why VBOXR3NP?
    2628VBoxOGLTest_TEMPLATE = VBOXR3NP
    27 ifneq ($(KBUILD_TARGET),darwin)
    28   VBoxOGLTest_SOURCES = OpenGLTest.cpp
     29VBoxOGLTest_SOURCES = OpenGLTest.cpp
     30else
     31VBoxOGLTest_TEMPLATE = VBoxR3Dll
     32VBoxOGLTest_SOURCES.darwin = OpenGLTestDarwin.cpp
    2933endif
    30 VBoxOGLTest_SOURCES.darwin = OpenGLTestDarwin.cpp
    3134
    3235#
  • trunk/src/VBox/Main/src-helper-apps/OpenGLTest/OpenGLTestDarwin.cpp

    r82968 r85246  
    146146             * available, disable 3D support.
    147147             */
     148#pragma clang diagnostic ignored "-Wdeprecated-declarations" /* gluCheckExtension deprecated since 10.10 - use MetalKit. */
    148149            CGLSetCurrentContext(pCglContext);
    149150            const GLubyte *pszExts = glGetString(GL_EXTENSIONS);
Note: See TracChangeset for help on using the changeset viewer.

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