|
Size: 937
Comment: remove references to compat API (only commented out on this one)
|
Size: 886
Comment: remove references to compat API, replaced with 1.3 function SDL_GetWindowSurface()
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 5: | Line 5: |
| A hint that specifies how 3D acceleration is used to accelerate the SDL 1.2 screen surface. | A hint that specifies how 3D acceleration is used with [[SDL_GetWindowSurface]](). |
| Line 23: | Line 23: |
| ''You can add useful comments here'' /* SDL can try to accelerate the screen surface returned by [[SDL_SetVideoMode]]() by using streaming textures with a 3D rendering engine. This variable controls whether and how this is done. */ |
SDL can try to accelerate the screen surface returned by [[SDL_GetWindowSurface]]() by using streaming textures with a 3D rendering engine. This variable controls whether and how this is done. |
SDL_HINT_FRAMEBUFFER_ACCELERATION
A hint that specifies how 3D acceleration is used with SDL_GetWindowSurface().
Values
0 |
disable 3D acceleration |
1 |
enable 3D acceleration, using the default renderer |
X |
enable 3D acceleration, using X where X is one of the valid rendering drivers. (e.g. "direct3d", "opengl", etc. |
Default
By default SDL tries to make a best guess whether to use acceleration or not on each platform.
Code Examples
You can add your code example here
Remarks
SDL can try to accelerate the screen surface returned by SDL_GetWindowSurface() by using streaming textures with a 3D rendering engine. This variable controls whether and how this is done.
