fix: dos logs de consola amb el format incorrecte
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <algorithm> // std::min, std::max, std::floor
|
||||
#include <cmath> // std::floor
|
||||
#include <cstring> // memcpy, strlen
|
||||
#include <iostream> // std::cout
|
||||
|
||||
#ifndef __APPLE__
|
||||
#include "core/rendering/sdl3gpu/crtpi_frag_spv.h"
|
||||
@@ -422,7 +423,7 @@ namespace Rendering {
|
||||
return false;
|
||||
}
|
||||
driver_name_ = SDL_GetGPUDeviceDriver(device_);
|
||||
SDL_Log("SDL3GPUShader: driver = %s", driver_name_.c_str());
|
||||
std::cout << "GPU Driver : " << driver_name_ << '\n';
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
// 2. Claim window (una sola vez — no liberar hasta destroy())
|
||||
@@ -519,7 +520,7 @@ namespace Rendering {
|
||||
}
|
||||
|
||||
is_initialized_ = true;
|
||||
SDL_Log("SDL3GPUShader: initialized OK — game %dx%d, oversample %d", game_width_, game_height_, oversample_);
|
||||
std::cout << "GPU Shader : initialized OK — game " << game_width_ << 'x' << game_height_ << ", oversample " << oversample_ << '\n';
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user