Cambiando printf por std::cout
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "hiscore_table.h"
|
||||
#include "common/jscore.h"
|
||||
#include <iostream>
|
||||
|
||||
const Uint8 SELF = 0;
|
||||
|
||||
@@ -21,7 +22,7 @@ HiScoreTable::HiScoreTable(SDL_Renderer *renderer, Screen *screen, Asset *asset,
|
||||
backbuffer = SDL_CreateTexture(renderer, SDL_PIXELFORMAT_RGBA8888, SDL_TEXTUREACCESS_TARGET, GAMECANVAS_WIDTH, GAMECANVAS_HEIGHT);
|
||||
if (backbuffer == nullptr)
|
||||
{
|
||||
printf("Backbuffer could not be created!\nSDL Error: %s\n", SDL_GetError());
|
||||
std::cout << "Error: textTexture could not be created!\nSDL Error: " << SDL_GetError() << std::endl;
|
||||
}
|
||||
|
||||
// Inicializa variables
|
||||
|
||||
Reference in New Issue
Block a user