mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-01 06:44:27 +08:00
SDL_GetWindowSurface: update documentation re: surface->pixels
This commit is contained in:
@@ -1297,6 +1297,10 @@ extern DECLSPEC SDL_bool SDLCALL SDL_HasWindowSurface(SDL_Window *window);
|
|||||||
* This surface will be invalidated if the window is resized. After resizing a
|
* This surface will be invalidated if the window is resized. After resizing a
|
||||||
* window this function must be called again to return a valid surface.
|
* window this function must be called again to return a valid surface.
|
||||||
*
|
*
|
||||||
|
* Note that on some platforms the pixels pointer of the surface may be
|
||||||
|
* modified after each call to SDL_UpdateWindowSurface(), so that the platform
|
||||||
|
* code can implement efficient double or triple buffering.
|
||||||
|
*
|
||||||
* You may not combine this with 3D or the rendering API on this window.
|
* You may not combine this with 3D or the rendering API on this window.
|
||||||
*
|
*
|
||||||
* This function is affected by `SDL_HINT_FRAMEBUFFER_ACCELERATION`.
|
* This function is affected by `SDL_HINT_FRAMEBUFFER_ACCELERATION`.
|
||||||
|
|||||||
Reference in New Issue
Block a user