forked from jaildesigner-jailgames/jaildoctors_dilemma
Corregits mil warnings de int a float
Corregit getDisplayInfo per al calcul del zoomMax
This commit is contained in:
@@ -236,7 +236,7 @@ void Credits::render() {
|
||||
|
||||
// Dibuja la textura que cubre el texto
|
||||
const int offset = std::min(counter_ / 8, 192 / 2);
|
||||
SDL_FRect srcRect = {0, 0, 256, 192 - (offset * 2)};
|
||||
SDL_FRect srcRect = {0.0F, 0.0F, 256.0F, 192.0F - (offset * 2.0F)};
|
||||
cover_surface_->render(0, offset * 2, &srcRect);
|
||||
|
||||
// Dibuja el sprite con el brillo
|
||||
|
||||
Reference in New Issue
Block a user