mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 06:39:34 +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;
|
procedure glMateriali(face, pname: GLenum; param: GLint); inline;
|
||||||
begin
|
begin
|
||||||
// WTF?!
|
// WTF?!
|
||||||
_GLMaterialf(tglContext, face, pname, GLfloat(param));
|
_GLMaterialf(tglContext, face, pname, param);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure glMaterialiv(face, pname: GLenum; const params: PGLint); inline;
|
procedure glMaterialiv(face, pname: GLenum; const params: PGLint); inline;
|
||||||
@ -626,7 +626,7 @@ end;
|
|||||||
procedure glFogi(pname: GLenum; param: GLint); inline;
|
procedure glFogi(pname: GLenum; param: GLint); inline;
|
||||||
begin
|
begin
|
||||||
// WTF!? And it actually works!
|
// WTF!? And it actually works!
|
||||||
_GLFogf(tglContext, pname, GLfloat(param));
|
_GLFogf(tglContext, pname, param);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure glOrtho(left, right, bottom, top, zNear, zFar: GLdouble); inline;
|
procedure glOrtho(left, right, bottom, top, zNear, zFar: GLdouble); inline;
|
||||||
|
Loading…
Reference in New Issue
Block a user