mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 13:59:29 +02:00
+ removed unnecessary typecasts causing troubles
git-svn-id: trunk@4087 -
This commit is contained in:
parent
4f93bec6e6
commit
981dd043e4
@ -488,7 +488,7 @@ end;
|
||||
procedure glMateriali(face, pname: GLenum; param: GLint); inline;
|
||||
begin
|
||||
// WTF?!
|
||||
_GLMaterialf(tglContext, face, pname, GLfloat(param));
|
||||
_GLMaterialf(tglContext, face, pname, param);
|
||||
end;
|
||||
|
||||
procedure glMaterialiv(face, pname: GLenum; const params: PGLint); inline;
|
||||
@ -626,7 +626,7 @@ end;
|
||||
procedure glFogi(pname: GLenum; param: GLint); inline;
|
||||
begin
|
||||
// WTF!? And it actually works!
|
||||
_GLFogf(tglContext, pname, GLfloat(param));
|
||||
_GLFogf(tglContext, pname, param);
|
||||
end;
|
||||
|
||||
procedure glOrtho(left, right, bottom, top, zNear, zFar: GLdouble); inline;
|
||||
|
Loading…
Reference in New Issue
Block a user