VirtualBox

Ignore:
Timestamp:
May 29, 2012 3:31:45 PM (13 years ago)
Author:
vboxsync
Message:

additions compile fix for VBOX_WITH_CROGL=

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

Legend:

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

    r41477 r41485  
    100100 VBoxDispD3D_DEFS   += VBOXWDDM_TEST_UHGSMI
    101101endif
     102ifdef VBOX_WITH_CROGL
     103 VBoxDispD3D_DEFS   += VBOX_WITH_CROGL
     104endif
    102105VBoxDispD3D_INCS     = ../../../include ..
    103106VBoxDispD3D_SOURCES  = \
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPCr.cpp

    r41109 r41485  
    2222#include <VBox/HostServices/VBoxCrOpenGLSvc.h>
    2323
     24#ifdef VBOX_WITH_CROGL
    2425#include <cr_protocol.h>
    2526
    26 #if 0
    27 #include <cr_pack.h>
     27# if 0
     28#  include <cr_pack.h>
    2829
    2930typedef struct PVBOXMP_SHGSMIPACKER
     
    8283    return VINF_SUCCESS;
    8384}
     85# endif
    8486#endif
    8587
     
    267269bool VBoxMpCrCtlConIs3DSupported()
    268270{
     271#ifdef VBOX_WITH_CROGL
    269272    VBOXMP_CRCTLCON CrCtlCon = {0};
    270273    uint32_t u32ClientID = 0;
     
    281284
    282285    return true;
    283 }
     286#else
     287    return false;
     288#endif
     289}
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