Changeset 692 for Daodan/src/Daodan_GL.c


Ignore:
Timestamp:
Mar 7, 2013, 6:26:13 PM (12 years ago)
Author:
alloc
Message:

Daodan: Lots of cleanups (mostly unnecessary includes removed, empty files deleted, case of filenames corrected)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • Daodan/src/Daodan_GL.c

    r691 r692  
    33
    44#include "Oni.h"
    5 #include "Oni_Persistence.h"
    65#include "Daodan_Utility.h"
    76#include <GL/gl.h>
    87#include <GL/glu.h>
    98#include "Daodan_Win32.h"
    10 #include "BFW_Utility.h"
    11 
    12 #include "daodan_gl.h"
    13 #include "oni_gl.h"
     9
     10#include "Daodan_GL.h"
     11#include "Oni_GL.h"
    1412
    1513#define max_modes (104) // Dirty hack to add more resolutions, it really should only be 16 ^_^
    1614#define builtin_modes  (sizeof(daodan_reslist) / sizeof(M3tDisplayMode))
    1715#define builtin_depths (sizeof(daodan_resdepths) / sizeof(short))
     16
     17bool daodan_testmode(M3tDisplayMode mode);
    1818
    1919const M3tDisplayMode daodan_reslist[] = {
     
    5252DEVMODE orig_devmode, cur_devmode, new_devmode;
    5353
     54/* Never called
    5455void init_daodan_gl()
    5556{
     
    7071        memcpy(&new_devmode, &orig_devmode, sizeof(orig_devmode));
    7172}
     73*/
    7274
    7375void update_cdmode()
     
    239241        }
    240242       
    241         if (gl_gamma_ramp_valid)
     243        /*if (gl_gamma_ramp_valid)
    242244                daodan_set_gamma(ONrPersist_GetGamma()); 
    243         else
     245        else*/
    244246                DDrStartupMessage("gamma adjustment not supported");
    245247       
Note: See TracChangeset for help on using the changeset viewer.