Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added SDL_GL_RETAINED_BACKING to SDL_GLattr enum. Retained backing me…
Browse files Browse the repository at this point in the history
…ans the memory for color buffers, depth buffers, etc cannot be overwritten by other applications between frames. The default for this setting is 'on'. I wanted to add this because turning retained backing off on iPhone dramatically increases performance.
  • Loading branch information
Holmes Futrell committed Jul 18, 2008
1 parent 696c3ae commit 5175e8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/SDL_video.h
Expand Up @@ -268,7 +268,8 @@ typedef enum
SDL_GL_STEREO,
SDL_GL_MULTISAMPLEBUFFERS,
SDL_GL_MULTISAMPLESAMPLES,
SDL_GL_ACCELERATED_VISUAL
SDL_GL_ACCELERATED_VISUAL,
SDL_GL_RETAINED_BACKING
} SDL_GLattr;


Expand Down

0 comments on commit 5175e8d

Please sign in to comment.