blob: 0d44c9651aa5f2cc4c4f6b4b8b1f035f048da9ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#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;
}
|