Mercurial > sdl-ios-xcode
view test/automated/platform/platform.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 | 0c429a5fda8a |
line wrap: on
line source
/** * Part of SDL test suite. * * Written by Edgar Simo "bobbens" * * Released under Public Domain. */ #ifndef _TEST_PLATFORM # define _TEST_PLATFORM const char *platform_getPlatform (void); int test_platform (void); #endif /* _TEST_PLATFORM */