mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
0031596: Visualization, OpenGl_Context - take GL_OES_texture_float extension into account for arbTexFloat flag
This commit is contained in:
parent
d4cefcc0da
commit
59ec2ccec9
@ -1543,8 +1543,9 @@ void OpenGl_Context::init (const Standard_Boolean theIsCoreProfile)
|
||||
hasHighp = Standard_True;
|
||||
}
|
||||
|
||||
arbTexFloat = IsGlGreaterEqual (3, 0)
|
||||
&& FindProcShort (glTexImage3D);
|
||||
arbTexFloat = (IsGlGreaterEqual (3, 0)
|
||||
&& FindProcShort (glTexImage3D))
|
||||
|| CheckExtension ("GL_OES_texture_float");
|
||||
hasTexFloatLinear = arbTexFloat
|
||||
&& CheckExtension ("GL_OES_texture_float_linear");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user