Changeset 691


Ignore:
Timestamp:
Mar 7, 2013, 2:10:23 AM (12 years ago)
Author:
alloc
Message:

Daodan: Cleaning up code (a few comments, old commented out stuff removed), ugly wine-crash fix for DaodanGL

Location:
Daodan/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Daodan/src/Oni_Symbols.h

    r690 r691  
    103103DefFunc(unsigned int, gl_enumerate_valid_display_modes, ONICALL, (M3tDisplayMode modes[16]), 0x004083a0);
    104104DefFunc(int, gl_platform_set_pixel_format, ONICALL, (HDC hdc), 0x00407b50);
     105
     106// Original graphics initialization method patched to use "daodangl_platform_initialize" instead if daodangl is used
    105107DefFunc(int, gl_platform_initialize, ONICALL, (), 0x00407da0);
    106108
  • Daodan/src/daodan_gl.c

    r690 r691  
    238238                        gl_gamma_ramp_valid = 1;
    239239        }
    240         /*
     240       
    241241        if (gl_gamma_ramp_valid)
    242242                daodan_set_gamma(ONrPersist_GetGamma()); 
    243         else*/
     243        else
    244244                DDrStartupMessage("gamma adjustment not supported");
    245245       
Note: See TracChangeset for help on using the changeset viewer.