Got the red to show up
This commit is contained in:
parent
b1ab0f6d98
commit
9d725d0b2f
2
main.cpp
2
main.cpp
@ -98,7 +98,7 @@ int main(int argc, char *argv[]) {
|
|||||||
SDL_SetRenderDrawColor(renderer, 130, 163, 255, 1);
|
SDL_SetRenderDrawColor(renderer, 130, 163, 255, 1);
|
||||||
|
|
||||||
|
|
||||||
SDL_Surface* fontSurface = IMG_Load("font.png");
|
SDL_Surface* fontSurface = IMG_Load("output.png");
|
||||||
if (fontSurface == NULL) {
|
if (fontSurface == NULL) {
|
||||||
cout << "Could not find spritesheet" << endl;
|
cout << "Could not find spritesheet" << endl;
|
||||||
return 1;
|
return 1;
|
||||||
|
BIN
output.png
Normal file
BIN
output.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
Loading…
x
Reference in New Issue
Block a user