daedalus/Source/SysGL/GL.h
2019-02-27 17:04:51 +11:00

34 lines
518 B
C

#ifndef SYSGL_GL_H_
#define SYSGL_GL_H_
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "Utility/DaedalusTypes.h"
extern GLFWwindow * gWindow;
// 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 // SYSGL_GL_H_