Mercurial > sdl-ios-xcode
view test/automated/surface/surface.h @ 3466:a288892cd24c
SDL_RenderReadPixels() needs to flush asynchronous operations before it reads.
The semantics are that it reads the back buffer, and those pixels may not be available once SDL_RenderPresent() has happened.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 21 Nov 2009 05:05:19 +0000 |
parents | 22ac66da0765 |
children |
line wrap: on
line source
/** * Part of SDL test suite. * * Written by Edgar Simo "bobbens" * * Released under Public Domain. */ #ifndef _TEST_SURFACE # define _TEST_SURFACE int test_surface (void); #endif /* _TEST_SURFACE */