README.MiNT
changeset 1007 335d9376a2cd
parent 984 44fd54a0ae5f
child 1042 0e7218843cfb
equal deleted inserted replaced
1006:3d9a199d2a70 1007:335d9376a2cd
    72 V.  Environment variables:
    72 V.  Environment variables:
    73 
    73 
    74 SDL_VIDEODRIVER:
    74 SDL_VIDEODRIVER:
    75 	Set to 'xbios' to force xbios video driver
    75 	Set to 'xbios' to force xbios video driver
    76 	Set to 'gem' to force gem video driver
    76 	Set to 'gem' to force gem video driver
       
    77 
       
    78 SDL_VIDEO_GL_DRIVER:
       
    79 	Set to filename to load as OpenGL library, if you use SDL_GL_LoadLibrary()
    77 
    80 
    78 SDL_AUDIODRIVER:
    81 SDL_AUDIODRIVER:
    79 	Set to 'mint_gsxb' to force Atari GSXB audio driver
    82 	Set to 'mint_gsxb' to force Atari GSXB audio driver
    80 	Set to 'mint_mcsn' to force Atari MCSN audio driver
    83 	Set to 'mint_mcsn' to force Atari MCSN audio driver
    81 	Set to 'mint_stfa' to force Atari STFA audio driver
    84 	Set to 'mint_stfa' to force Atari STFA audio driver
   124 	  affected to 1 button joysticks on the same port.
   127 	  affected to 1 button joysticks on the same port.
   125 
   128 
   126 ==============================================================================
   129 ==============================================================================
   127 VI.  More informations about drivers:
   130 VI.  More informations about drivers:
   128 
   131 
       
   132 OpenGL:
       
   133 	The default is to use the Mesa offscreen driver (osmesa.ldg). If you want
       
   134 	to use an older OpenGL implementation, like mesa_gl.ldg or tiny_gl.ldg,
       
   135 	your program must use SDL_GL_LoadLibrary() to do so, and retrieve the
       
   136 	needed function pointers with SDL_LoadFunction(). In all cases, the OpenGL
       
   137 	context is taken care of by SDL itself, you just have to use gl* functions.
       
   138 
       
   139 	However, there is one OpenGL call that has a different prototype in the old
       
   140 	implementations: glOrtho(). In the old implementations, it has 6 float as
       
   141 	parameters, in the standard one, it has 6 double parameters. If you want
       
   142 	to compile testdyngl, or any other SDL program that loads its OpenGL
       
   143 	library, you must change the glOrtho() prototype used in this program. In
       
   144 	osmesa.ldg, you can retrieve a glOrtho() with double parameters, by searching
       
   145 	for the function "glOrtho6d".
       
   146 
   129 Xbios video:
   147 Xbios video:
   130 	Video chip is detected using the _VDO cookie.
   148 	Video chip is detected using the _VDO cookie.
   131 	Screen enhancers are not supported, but could be if you know how to
   149 	Screen enhancers are not supported, but could be if you know how to
   132 	use them.
   150 	use them.
   133 
   151