mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-13 09:55:42 +00:00
fix typos
This commit is contained in:
parent
34af24276f
commit
65433383a6
1 changed files with 2 additions and 2 deletions
|
|
@ -299,7 +299,7 @@ e.g.
|
|||
|
||||
You have access to the OpenGL context or rendering API at this point.
|
||||
However, there's a chance (on older hardware, or on systems under heavy load),
|
||||
where the graphics context can not be restored. You should listen for the
|
||||
where the graphics context cannot be restored. You should listen for the
|
||||
event SDL_EVENT_RENDER_DEVICE_RESET and recreate your OpenGL context and
|
||||
restore your textures when you get it, or quit the app.
|
||||
*/
|
||||
|
|
@ -358,7 +358,7 @@ To enable/disable this behavior, see SDL_hints.h:
|
|||
Misc
|
||||
================================================================================
|
||||
|
||||
For some device, it appears to works better setting explicitly GL attributes
|
||||
For some devices, it appears to work better setting explicitly GL attributes
|
||||
before creating a window:
|
||||
SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5);
|
||||
SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 6);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue