Minor cleanup.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user