summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTuomas Virtanen <katajakasa@gmail.com>2016-01-08 04:34:15 +0200
committerTuomas Virtanen <katajakasa@gmail.com>2016-01-08 04:34:15 +0200
commit1991ace79c784e86d56300d09d6d29053aa5978b (patch)
treeef1c5e92a5601bafc54a216e1d71b0910ae5e070 /examples
parent4d6ea9dfbc311dfd05884076959c2b096528a5d8 (diff)
Changes on how textures are updated
Diffstat (limited to 'examples')
-rw-r--r--examples/example_play.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_play.c b/examples/example_play.c
index 00f7e50..78bec7f 100644
--- a/examples/example_play.c
+++ b/examples/example_play.c
@@ -159,7 +159,7 @@ int main(int argc, char *argv[]) {
SDL_Texture *tex = SDL_CreateTexture(
renderer,
pinfo.video.format,
- SDL_TEXTUREACCESS_STREAMING,
+ SDL_TEXTUREACCESS_STATIC,
pinfo.video.width,
pinfo.video.height);
if(tex == NULL) {