mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
meow
This commit is contained in:
parent
349d226c19
commit
12f832f404
3 changed files with 5 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue