mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
LibGL: Change gl_tex_gen
param to GLint
The singular form of `glTexGeni/f/d` only supports constants, not floating point values as its parameter.
This commit is contained in:
parent
ab6a869f55
commit
8cf91a5ae5
3 changed files with 3 additions and 3 deletions
|
@ -2733,7 +2733,7 @@ void SoftwareGLContext::gl_rect(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble
|
|||
gl_end();
|
||||
}
|
||||
|
||||
void SoftwareGLContext::gl_tex_gen(GLenum coord, GLenum pname, GLdouble param)
|
||||
void SoftwareGLContext::gl_tex_gen(GLenum coord, GLenum pname, GLint param)
|
||||
{
|
||||
APPEND_TO_CALL_LIST_AND_RETURN_IF_NEEDED(gl_tex_gen, coord, pname, param);
|
||||
RETURN_WITH_ERROR_IF(m_in_draw_state, GL_INVALID_OPERATION);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue