21 #include <emscripten/emscripten.h> 40 for( ; row < 8; row++)
51 rect.
y = row * rect.
h;
79 emscripten_cancel_main_loop();
87 emscripten_cancel_main_loop();
136 #ifdef __EMSCRIPTEN__ 137 emscripten_set_main_loop(
loop, 0, 1);
int main(int argc, char *argv[])
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 * e
GLenum GLenum void void * column
GLint GLint GLint GLint GLint x
#define SDL_RenderFillRect
A collection of pixels used in software blitting.
#define SDL_WINDOWPOS_UNDEFINED
void DrawChessBoard(SDL_Renderer *renderer)
#define SDL_UpdateWindowSurface
#define SDL_RenderGetViewport
#define SDL_GetWindowSurface
#define SDL_CreateSoftwareRenderer
#define SDL_LogSetPriority
The type used to identify a window.
#define SDL_SetRenderDrawColor
#define SDL_DestroyRenderer
A rectangle, with the origin at the upper left.