creado define para compilar sin shaders
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <streambuf>
|
||||
#ifndef RASPI
|
||||
#ifndef NO_SHADERS
|
||||
#include "jshader.h"
|
||||
#endif
|
||||
|
||||
@@ -81,7 +81,7 @@ void Screen::blit()
|
||||
// Atenua la pantalla
|
||||
doAttenuate();
|
||||
|
||||
#ifdef RASPI
|
||||
#ifdef NO_SHADERS
|
||||
// Vuelve a dejar el renderizador en modo normal
|
||||
SDL_SetRenderTarget(renderer, nullptr);
|
||||
|
||||
@@ -201,7 +201,7 @@ void Screen::setVideoMode(int videoMode)
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef RASPI
|
||||
#ifdef NO_SHADERS
|
||||
SDL_RenderSetLogicalSize(renderer, windowWidth, windowHeight);
|
||||
#else
|
||||
// Reinicia los shaders
|
||||
|
||||
Reference in New Issue
Block a user