Minor cleanup.

This commit is contained in:
Rinnegatamante
2020-10-26 11:54:51 +01:00
parent cd2c977041
commit ab576f1859
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -1365,12 +1365,11 @@ openGLFW(EngineOpenParams *openparams)
gConstIndices[i] = i;
}
#ifdef PSP2_USE_SHADER_COMPILER
vglInitExtended(0x10000, 960, 544, 0x100000, SCE_GXM_MULTISAMPLE_4X);
vglSetupRuntimeShaderCompiler(SHARK_OPT_UNSAFE, SHARK_ENABLE, SHARK_ENABLE, SHARK_ENABLE);
#else
vglEnableRuntimeShaderCompiler(GL_FALSE);
vglInitExtended(0x10000, 960, 544, 0x100000, SCE_GXM_MULTISAMPLE_4X);
#endif
vglInitExtended(0x10000, 960, 544, 0x100000, SCE_GXM_MULTISAMPLE_4X);
vglUseVram(GL_TRUE);
makeVideoModeList();
+2
View File
@@ -7,6 +7,7 @@
#ifdef PSP2
#include <vitasdk.h>
#include <vitaGL.h>
#ifndef PSP2_USE_SHADER_COMPILER
#include "shaders/default_v.h"
#include "shaders/im3d_v.h"
#include "shaders/im2d_v.h"
@@ -14,6 +15,7 @@
#include "shaders/matfx_env_v.h"
#include "shaders/matfx_env_f.h"
#include "shaders/simple_f.h"
#endif
#else
#ifndef LIBRW_GLAD
#include <GL/glew.h>