daedalus/Source/SysGLES/GL.h

35 lines
577 B
C

#ifndef SYSGLES_GL_H_
#define SYSGLES_GL_H_
#include <GLES3/gl3.h>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL.h>
#include "Base/Types.h"
extern SDL_Window * gWindow;
extern SDL_Renderer * gSdlRenderer;
// FIXME: burn all of this with fire.
void sceGuFog(float mn, float mx, u32 col);
enum EGuTextureWrapMode
{
GU_CLAMP = GL_CLAMP_TO_EDGE,
GU_REPEAT = GL_REPEAT,
};
enum EGuMatrixType
{
GU_PROJECTION = GL_PROJECTION,
};
struct ScePspFMatrix4
{
float m[16];
};
void sceGuSetMatrix(EGuMatrixType type, const ScePspFMatrix4 * mtx);
#endif // SYSGLES_GL_H_