QOpenGLTextureHelper: add a clarifying comment
Change-Id: Ia27fd6616b2259b3fbe71ea8737b270c323a1256 Reviewed-by: James Turner <james.turner@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
This commit is contained in:
parent
c716cb2600
commit
8b39935e93
@ -695,7 +695,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Typedefs and pointers to member functions used to switch between EXT_direct_state_access and our own emulated DSA
|
// Typedefs and pointers to member functions used to switch between EXT_direct_state_access and our own emulated DSA.
|
||||||
|
// The argument match the corresponding GL function, but there's an extra "GLenum bindingTarget" which gets used with
|
||||||
|
// the DSA emulation -- it contains the right GL_BINDING_TEXTURE_X to use.
|
||||||
typedef void (QOpenGLTextureHelper::*TextureParameteriMemberFunc)(GLuint texture, GLenum target, GLenum bindingTarget, GLenum pname, GLint param);
|
typedef void (QOpenGLTextureHelper::*TextureParameteriMemberFunc)(GLuint texture, GLenum target, GLenum bindingTarget, GLenum pname, GLint param);
|
||||||
typedef void (QOpenGLTextureHelper::*TextureParameterivMemberFunc)(GLuint texture, GLenum target, GLenum bindingTarget, GLenum pname, const GLint *params);
|
typedef void (QOpenGLTextureHelper::*TextureParameterivMemberFunc)(GLuint texture, GLenum target, GLenum bindingTarget, GLenum pname, const GLint *params);
|
||||||
typedef void (QOpenGLTextureHelper::*TextureParameterfMemberFunc)(GLuint texture, GLenum target, GLenum bindingTarget, GLenum pname, GLfloat param);
|
typedef void (QOpenGLTextureHelper::*TextureParameterfMemberFunc)(GLuint texture, GLenum target, GLenum bindingTarget, GLenum pname, GLfloat param);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user