BLT-With-Graphics-Template/include/blt/gfx/gl_includes.h

25 lines
533 B
C
Raw Normal View History

2023-12-16 23:52:18 -05:00
#pragma once
/*
* Created by Brett on 16/12/23.
* Licensed under GNU General Public License V3.0
* See LICENSE file for license detail
*/
#ifndef BLT_GL_INCLUDES_H
#define BLT_GL_INCLUDES_H
// emscripten provides its own gl bindings.
#ifndef __EMSCRIPTEN__
#include <glad/gl.h>
#else
2023-12-17 19:37:11 -05:00
#include <GLES2/gl2.h>
2024-04-26 01:11:46 -04:00
#include <GLES3/gl3.h>
#include <GLES3/gl31.h>
#include <GLES3/gl32.h>
2023-12-16 23:52:18 -05:00
#include <emscripten.h>
#define GL_GLEXT_PROTOTYPES
#define EGL_EGLEXT_PROTOTYPES
#endif
#endif //BLT_GL_INCLUDES_H