VirtualBox

Changeset 53750 in vbox for trunk/src/VBox/Devices/Graphics


Ignore:
Timestamp:
Jan 6, 2015 3:52:37 AM (10 years ago)
Author:
vboxsync
Message:

build fix

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp

    r53749 r53750  
    604604    uint32_t                idTestContext;
    605605#endif
    606 #ifdef VBOX_VMSVGA3D_USE_OPENGL_CORE
    607606    /** Legacy OpenGL profile GL_EXTENSIONS result (RTStrDup).
    608607     * This is used to detect shader model version since some implementations
     
    610609     * bunch of others when using a OpenGL core profile instead of a legacy one */
    611610    R3PTRTYPE(char *)       pszLegacyExtensions;
    612 #endif
    613611} VMSVGA3DSTATE;
    614612/** Pointer to the VMSVGA3d state. */
     
    981979    VMSVGA3D_SET_CURRENT_CONTEXT(pState, pContext);
    982980#else
    983     pState->pszLegacyExtensions = "";
     981    pState->pszLegacyExtensions = (char *)"";
    984982#endif
    985983
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d.h

    r53749 r53750  
    11/** @file
    2  * DevVMWare - VMWare SVGA device - 3D part
     2 * DevVMWare - VMWare SVGA device - 3D part.
    33 */
     4
    45/*
    5  * Copyright (C) 2013 Oracle Corporation
     6 * Copyright (C) 2013-2015 Oracle Corporation
    67 *
    78 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    1415 */
    1516
    16 #ifndef __DEVVMWARE3D_H__
    17 #define __DEVVMWARE3D_H__
     17#ifndef ___DEVVMWARE3D_H___
     18#define ___DEVVMWARE3D_H___
    1819
    1920#include "vmsvga/svga_reg.h"
     
    2324
    2425#if defined(RT_OS_WINDOWS) && defined(IN_RING3)
    25 #include <windows.h>
     26# include <Windows.h>
    2627
    27 #define WM_VMSVGA3D_WAKEUP                      (WM_APP+1)
    28 #define WM_VMSVGA3D_CREATEWINDOW                (WM_APP+2)
    29 #define WM_VMSVGA3D_DESTROYWINDOW               (WM_APP+3)
    30 #define WM_VMSVGA3D_RESIZEWINDOW                (WM_APP+4)
    31 #define WM_VMSVGA3D_EXIT                        (WM_APP+5)
     28# define WM_VMSVGA3D_WAKEUP                     (WM_APP+1)
     29# define WM_VMSVGA3D_CREATEWINDOW               (WM_APP+2)
     30# define WM_VMSVGA3D_DESTROYWINDOW              (WM_APP+3)
     31# define WM_VMSVGA3D_RESIZEWINDOW               (WM_APP+4)
     32# define WM_VMSVGA3D_EXIT                       (WM_APP+5)
    3233
    3334DECLCALLBACK(int) vmsvga3dWindowThread(RTTHREAD ThreadSelf, void *pvUser);
     
    3637#endif
    3738
    38 /* Arbitrary limit */
     39/** Arbitrary limit */
    3940#define SVGA3D_MAX_SHADER_IDS                   0x100
    40 /* D3D allows up to 8 texture stages. */
     41/** D3D allows up to 8 texture stages. */
    4142#define SVGA3D_MAX_TEXTURE_STAGE                8
    42 /* Arbitrary upper limit; seen 8 so far. */
     43/** Arbitrary upper limit; seen 8 so far. */
    4344#define SVGA3D_MAX_LIGHTS                       32
    4445
     
    107108#endif
    108109
    109 #endif  /* __DEVVMWARE3D_H__ */
     110#endif  /* !___DEVVMWARE3D_H___ */
     111
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