mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
single -> float
This commit is contained in:
parent
0fef6fd3c6
commit
0462d5f758
@ -7051,7 +7051,7 @@ bind_clip_plane(const NodePath &plane, int plane_id) {
|
|||||||
#ifndef OPENGLES_2 // OpenGL ES 2.0 doesn't support clip planes at all.
|
#ifndef OPENGLES_2 // OpenGL ES 2.0 doesn't support clip planes at all.
|
||||||
#ifdef OPENGLES
|
#ifdef OPENGLES
|
||||||
// OpenGL ES uses a single-precision call.
|
// OpenGL ES uses a single-precision call.
|
||||||
LPlanef single_plane(LCAST(single, xformed_plane));
|
LPlanef single_plane(LCAST(float, xformed_plane));
|
||||||
GLP(ClipPlanef)(id, single_plane.get_data());
|
GLP(ClipPlanef)(id, single_plane.get_data());
|
||||||
#else
|
#else
|
||||||
// Mainline OpenGL uses a double-precision call.
|
// Mainline OpenGL uses a double-precision call.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user