mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
No longer need glGenerateMipmap.
This commit is contained in:
parent
e1e4699a52
commit
0f0ac2d6c5
@ -357,13 +357,11 @@ typedef khronos_uint16_t GLhalf;
|
|||||||
typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
|
typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
|
||||||
typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
|
typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
|
||||||
typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
|
typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
|
||||||
typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
|
|
||||||
typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
|
typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
|
||||||
typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
|
typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
|
||||||
typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
|
typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
|
||||||
#ifdef GL_GLEXT_PROTOTYPES
|
#ifdef GL_GLEXT_PROTOTYPES
|
||||||
GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
|
GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
|
||||||
GLAPI void APIENTRY glGenerateMipmap (GLenum target);
|
|
||||||
GLAPI void APIENTRY glBindVertexArray (GLuint array);
|
GLAPI void APIENTRY glBindVertexArray (GLuint array);
|
||||||
GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
|
GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
|
||||||
GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
|
GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
|
||||||
@ -469,7 +467,7 @@ GL3W_API GL3WglProc imgl3wGetProcAddress(const char *proc);
|
|||||||
|
|
||||||
/* gl3w internal state */
|
/* gl3w internal state */
|
||||||
union GL3WProcs {
|
union GL3WProcs {
|
||||||
GL3WglProc ptr[59];
|
GL3WglProc ptr[58];
|
||||||
struct {
|
struct {
|
||||||
PFNGLACTIVETEXTUREPROC ActiveTexture;
|
PFNGLACTIVETEXTUREPROC ActiveTexture;
|
||||||
PFNGLATTACHSHADERPROC AttachShader;
|
PFNGLATTACHSHADERPROC AttachShader;
|
||||||
@ -503,7 +501,6 @@ union GL3WProcs {
|
|||||||
PFNGLGENBUFFERSPROC GenBuffers;
|
PFNGLGENBUFFERSPROC GenBuffers;
|
||||||
PFNGLGENTEXTURESPROC GenTextures;
|
PFNGLGENTEXTURESPROC GenTextures;
|
||||||
PFNGLGENVERTEXARRAYSPROC GenVertexArrays;
|
PFNGLGENVERTEXARRAYSPROC GenVertexArrays;
|
||||||
PFNGLGENERATEMIPMAPPROC GenerateMipmap;
|
|
||||||
PFNGLGETATTRIBLOCATIONPROC GetAttribLocation;
|
PFNGLGETATTRIBLOCATIONPROC GetAttribLocation;
|
||||||
PFNGLGETERRORPROC GetError;
|
PFNGLGETERRORPROC GetError;
|
||||||
PFNGLGETINTEGERVPROC GetIntegerv;
|
PFNGLGETINTEGERVPROC GetIntegerv;
|
||||||
@ -568,7 +565,6 @@ GL3W_API extern union GL3WProcs imgl3wProcs;
|
|||||||
#define glGenBuffers imgl3wProcs.gl.GenBuffers
|
#define glGenBuffers imgl3wProcs.gl.GenBuffers
|
||||||
#define glGenTextures imgl3wProcs.gl.GenTextures
|
#define glGenTextures imgl3wProcs.gl.GenTextures
|
||||||
#define glGenVertexArrays imgl3wProcs.gl.GenVertexArrays
|
#define glGenVertexArrays imgl3wProcs.gl.GenVertexArrays
|
||||||
#define glGenerateMipmap imgl3wProcs.gl.GenerateMipmap
|
|
||||||
#define glGetAttribLocation imgl3wProcs.gl.GetAttribLocation
|
#define glGetAttribLocation imgl3wProcs.gl.GetAttribLocation
|
||||||
#define glGetError imgl3wProcs.gl.GetError
|
#define glGetError imgl3wProcs.gl.GetError
|
||||||
#define glGetIntegerv imgl3wProcs.gl.GetIntegerv
|
#define glGetIntegerv imgl3wProcs.gl.GetIntegerv
|
||||||
@ -766,7 +762,6 @@ static const char *proc_names[] = {
|
|||||||
"glGenBuffers",
|
"glGenBuffers",
|
||||||
"glGenTextures",
|
"glGenTextures",
|
||||||
"glGenVertexArrays",
|
"glGenVertexArrays",
|
||||||
"glGenerateMipmap",
|
|
||||||
"glGetAttribLocation",
|
"glGetAttribLocation",
|
||||||
"glGetError",
|
"glGetError",
|
||||||
"glGetIntegerv",
|
"glGetIntegerv",
|
||||||
|
Loading…
Reference in New Issue
Block a user