VirtualBox

Ignore:
Timestamp:
Aug 1, 2016 9:32:03 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109444
Message:

GAs/common: warnings

Location:
trunk/src/VBox/Additions/common/crOpenGL/pack
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.

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