VirtualBox

Ignore:
Timestamp:
Aug 1, 2016 9:32:03 PM (8 years ago)
Author:
vboxsync
Message:

GAs/common: warnings

Location:
trunk/src/VBox/Additions/common/crOpenGL
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/icd_drv.c

    r62521 r62848  
    11/* $Id$ */
    2 
    32/** @file
    43 * VBox OpenGL windows ICD driver functions
     
    2827#endif
    2928
    30 #include <windows.h>
     29#include <iprt/win/windows.h>
    3130
    3231//TODO: consider
     
    397396    return 1;
    398397}
     398
  • trunk/src/VBox/Additions/common/crOpenGL/icd_drv.h

    r62521 r62848  
    11/* $Id$ */
    2 
    32/** @file
    4  *
    53 * VirtualBox Windows NT/2000/XP guest OpenGL ICD header
    64 */
     
    1816 */
    1917
    20 #ifndef __ICDDRV_H__
    21 #define __ICDDRV_H__
     18#ifndef ___ICDDRV_H___
     19#define ___ICDDRV_H___
    2220
    23 #include <windows.h>
     21#include <iprt/win/windows.h>
    2422
    25 typedef struct _icdTable
     23typedef struct ICDTABLE
    2624{
    2725    DWORD size;
     
    5250BOOL APIENTRY DrvSwapBuffers(HDC hdc);
    5351
    54 #endif /* __ICDDRV_H__ */
     52#endif /* !___ICDDRV_H___ */
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu.h

    r56008 r62848  
    162162extern void packspuHuge( CROpcode opcode, void *buf );
    163163
    164 extern void packspuInitStrings();
     164extern void packspuInitStrings(void);
    165165
    166 extern GLboolean packspuSyncOnFlushes();
     166extern GLboolean packspuSyncOnFlushes(void);
    167167
    168168extern ThreadInfo *packspuNewThread(
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c

    r52451 r62848  
    9494}
    9595
    96 GLboolean packspuSyncOnFlushes()
    97 {
     96GLboolean packspuSyncOnFlushes(void)
     97{
     98#if 1 /*Seems to still cause issues, always sync for now*/
     99    return 1;
     100#else
    98101    GLint buffer;
    99 
    100     /*Seems to still cause issues, always sync for now*/
    101     return 1;
    102102
    103103    crStateGetIntegerv(GL_DRAW_BUFFER, &buffer);
     
    110110                || buffer == GL_LEFT
    111111                || buffer == GL_RIGHT);
     112#endif
    112113}
    113114
     
    848849{
    849850}
     851
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