This commit is contained in:
DepressedTWM 2026-05-20 09:39:59 +04:00
parent 349d226c19
commit 12f832f404
3 changed files with 5 additions and 8 deletions

View file

@ -178,7 +178,7 @@ void EventThread::process(RGSSThreadData &rtData){
while (true){
if (!SDL_WaitEvent(&event)){
Debug() << "EventThread: Event error";
Debug() << "[EventThread::process] EventThread: Event error";
break;
}
@ -273,7 +273,7 @@ void EventThread::process(RGSSThreadData &rtData){
case SDL_EVENT_QUIT :
if (rtData.allowExit) {
terminate = true;
Debug() << "EventThread termination requested";
Debug() << "[EventThread::process] EventThread termination requested";
} else {
rtData.triedExit.set();
}

View file

@ -105,8 +105,7 @@ void Shader::unbind(){
glState.program.set(0);
}
static void setupShaderSource(GLuint shader, GLenum type,
const unsigned char *body, int bodySize){
static void setupShaderSource(GLuint shader, GLenum type, const unsigned char *body, int bodySize){
static const char glesDefine[] = "#define GLSLES\n";
static const char fragDefine[] = "#define FRAGMENT_SHADER\n";

View file

@ -240,14 +240,12 @@ private:
/* Gaussian blur */
struct BlurShader{
class HPass : public ShaderBase
{
class HPass : public ShaderBase{
public:
HPass();
};
class VPass : public ShaderBase
{
class VPass : public ShaderBase{
public:
VPass();
};