mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
parent
5a4f1cbceb
commit
ff2a43bfbf
12 changed files with 22 additions and 22 deletions
|
|
@ -66,7 +66,7 @@ SDL_AppResult SDL_AppIterate(void *appstate)
|
|||
|
||||
/* To update a streaming texture, you need to lock it first. This gets you access to the pixels.
|
||||
Note that this is considered a _write-only_ operation: the buffer you get from locking
|
||||
might not acutally have the existing contents of the texture, and you have to write to every
|
||||
might not actually have the existing contents of the texture, and you have to write to every
|
||||
locked pixel! */
|
||||
|
||||
/* You can use SDL_LockTexture() to get an array of raw pixels, but we're going to use
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue