blob: d8f0d4098f73ac1ce5bec8ba3797dc44dbe94af8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "TZR_render.h"
#include "TZR_globals.h"
#include "sdl_error.h"
#include <SDL2/SDL_render.h>
int TZR_DrawPoint(int x, int y)
{
if (SDL_RenderDrawPoint(___tzr_renderer, x, y) < 0)
return sdl_error(-1);
return 0;
}
|