Commit 4b90d794 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Get rid of the GL extension function pointer typedefs.

parent 63396e00
...@@ -1443,25 +1443,33 @@ enum wined3d_pci_device ...@@ -1443,25 +1443,33 @@ enum wined3d_pci_device
struct wined3d_fbo_ops struct wined3d_fbo_ops
{ {
PGLFNGLISRENDERBUFFERPROC glIsRenderbuffer; GLboolean (WINE_GLAPI *glIsRenderbuffer)(GLuint renderbuffer);
PGLFNGLBINDRENDERBUFFERPROC glBindRenderbuffer; void (WINE_GLAPI *glBindRenderbuffer)(GLenum target, GLuint renderbuffer);
PGLFNGLDELETERENDERBUFFERSPROC glDeleteRenderbuffers; void (WINE_GLAPI *glDeleteRenderbuffers)(GLsizei n, const GLuint *renderbuffers);
PGLFNGLGENRENDERBUFFERSPROC glGenRenderbuffers; void (WINE_GLAPI *glGenRenderbuffers)(GLsizei n, GLuint *renderbuffers);
PGLFNGLRENDERBUFFERSTORAGEPROC glRenderbufferStorage; void (WINE_GLAPI *glRenderbufferStorage)(GLenum target, GLenum internalformat,
PGLFNRENDERBUFFERSTORAGEMULTISAMPLEPROC glRenderbufferStorageMultisample; GLsizei width, GLsizei height);
PGLFNGLGETRENDERBUFFERPARAMETERIVPROC glGetRenderbufferParameteriv; void (WINE_GLAPI *glRenderbufferStorageMultisample)(GLenum target, GLsizei samples,
PGLFNGLISFRAMEBUFFERPROC glIsFramebuffer; GLenum internalformat, GLsizei width, GLsizei height);
PGLFNGLBINDFRAMEBUFFERPROC glBindFramebuffer; void (WINE_GLAPI *glGetRenderbufferParameteriv)(GLenum target, GLenum pname, GLint *params);
PGLFNGLDELETEFRAMEBUFFERSPROC glDeleteFramebuffers; GLboolean (WINE_GLAPI *glIsFramebuffer)(GLuint framebuffer);
PGLFNGLGENFRAMEBUFFERSPROC glGenFramebuffers; void (WINE_GLAPI *glBindFramebuffer)(GLenum target, GLuint framebuffer);
PGLFNGLCHECKFRAMEBUFFERSTATUSPROC glCheckFramebufferStatus; void (WINE_GLAPI *glDeleteFramebuffers)(GLsizei n, const GLuint *framebuffers);
PGLFNGLFRAMEBUFFERTEXTURE1DPROC glFramebufferTexture1D; void (WINE_GLAPI *glGenFramebuffers)(GLsizei n, GLuint *framebuffers);
PGLFNGLFRAMEBUFFERTEXTURE2DPROC glFramebufferTexture2D; GLenum (WINE_GLAPI *glCheckFramebufferStatus)(GLenum target);
PGLFNGLFRAMEBUFFERTEXTURE3DPROC glFramebufferTexture3D; void (WINE_GLAPI *glFramebufferTexture1D)(GLenum target, GLenum attachment,
PGLFNGLFRAMEBUFFERRENDERBUFFERPROC glFramebufferRenderbuffer; GLenum textarget, GLuint texture, GLint level);
PGLFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC glGetFramebufferAttachmentParameteriv; void (WINE_GLAPI *glFramebufferTexture2D)(GLenum target, GLenum attachment,
PGLFNGLBLITFRAMEBUFFERPROC glBlitFramebuffer; GLenum textarget, GLuint texture, GLint level);
PGLFNGLGENERATEMIPMAPPROC glGenerateMipmap; void (WINE_GLAPI *glFramebufferTexture3D)(GLenum target, GLenum attachment,
GLenum textarget, GLuint texture, GLint level, GLint layer);
void (WINE_GLAPI *glFramebufferRenderbuffer)(GLenum target, GLenum attachment,
GLenum renderbuffertarget, GLuint renderbuffer);
void (WINE_GLAPI *glGetFramebufferAttachmentParameteriv)(GLenum target, GLenum attachment,
GLenum pname, GLint *params);
void (WINE_GLAPI *glBlitFramebuffer)(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1,
GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
void (WINE_GLAPI *glGenerateMipmap)(GLenum target);
}; };
struct wined3d_gl_limits struct wined3d_gl_limits
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment