fix GLES2 build

This commit is contained in:
Flyinghead 2020-05-09 12:07:49 +02:00
parent 34575d577c
commit b907aa2d98
2 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,8 @@
along with Flycast. If not, see <https://www.gnu.org/licenses/>.
*/
#pragma once
#ifdef USE_VULKAN
#include "vulkan.h"
#include "vmallocator.h"
#include "quad.h"
@ -219,3 +221,5 @@ private:
#endif
static VulkanContext *contextInstance;
};
#endif // USE_VULKAN

View File

@ -23,6 +23,8 @@
#include <GLES32/gl2ext.h>
#ifndef GLES2
#include "gl32funcs.h"
#else
extern "C" void load_gles_symbols();
#endif
#include "gl_context.h"