Changeset 692 for Daodan/src/Daodan_GL.c
- Timestamp:
- Mar 7, 2013, 6:26:13 PM (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/Daodan_GL.c
r691 r692 3 3 4 4 #include "Oni.h" 5 #include "Oni_Persistence.h"6 5 #include "Daodan_Utility.h" 7 6 #include <GL/gl.h> 8 7 #include <GL/glu.h> 9 8 #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" 14 12 15 13 #define max_modes (104) // Dirty hack to add more resolutions, it really should only be 16 ^_^ 16 14 #define builtin_modes (sizeof(daodan_reslist) / sizeof(M3tDisplayMode)) 17 15 #define builtin_depths (sizeof(daodan_resdepths) / sizeof(short)) 16 17 bool daodan_testmode(M3tDisplayMode mode); 18 18 19 19 const M3tDisplayMode daodan_reslist[] = { … … 52 52 DEVMODE orig_devmode, cur_devmode, new_devmode; 53 53 54 /* Never called 54 55 void init_daodan_gl() 55 56 { … … 70 71 memcpy(&new_devmode, &orig_devmode, sizeof(orig_devmode)); 71 72 } 73 */ 72 74 73 75 void update_cdmode() … … 239 241 } 240 242 241 if (gl_gamma_ramp_valid)243 /*if (gl_gamma_ramp_valid) 242 244 daodan_set_gamma(ONrPersist_GetGamma()); 243 else 245 else*/ 244 246 DDrStartupMessage("gamma adjustment not supported"); 245 247
Note:
See TracChangeset
for help on using the changeset viewer.