hedgewars/SDLh.pas
changeset 2618 23ee71bd049b
parent 2617 ef0d93cd61b2
child 2619 bc2786a00fb8
equal deleted inserted replaced
2617:ef0d93cd61b2 2618:23ee71bd049b
   472 		SDL_GL_ACCUM_BLUE_SIZE,
   472 		SDL_GL_ACCUM_BLUE_SIZE,
   473 		SDL_GL_ACCUM_ALPHA_SIZE,
   473 		SDL_GL_ACCUM_ALPHA_SIZE,
   474 		SDL_GL_STEREO,
   474 		SDL_GL_STEREO,
   475 		SDL_GL_MULTISAMPLEBUFFERS,
   475 		SDL_GL_MULTISAMPLEBUFFERS,
   476 		SDL_GL_MULTISAMPLESAMPLES,
   476 		SDL_GL_MULTISAMPLESAMPLES,
   477 {$IFDEF SDL13}
       
   478 		SDL_GL_ACCELERATED_VISUAL,
   477 		SDL_GL_ACCELERATED_VISUAL,
       
   478 {$IFDEF SDL13}
   479 		SDL_GL_RETAINED_BACKING,
   479 		SDL_GL_RETAINED_BACKING,
   480 		SDL_GL_CONTEXT_MAJOR_VERSION,
   480 		SDL_GL_CONTEXT_MAJOR_VERSION,
   481 		SDL_GL_CONTEXT_MINOR_VERSION
   481 		SDL_GL_CONTEXT_MINOR_VERSION
   482 {$ELSE}
   482 {$ELSE}
   483 		SDL_GL_SWAP_CONTROL,
   483 		SDL_GL_SWAP_CONTROL
   484 		SDL_GL_ACCELERATED_VISUAL
       
   485 {$ENDIF}
   484 {$ENDIF}
   486 );
   485 );
   487 
   486 
   488 {$IFDEF SDL13}
   487 {$IFDEF SDL13}
   489 	TSDL_ArrayByteOrder = (  // array component order, low byte -> high byte 
   488 	TSDL_ArrayByteOrder = (  // array component order, low byte -> high byte