| 907 | } |
| 908 | |
| 909 | void GL46Engine::GetDepthRange(float& zmin, float& zmax) const |
| 910 | { |
| 911 | GLdouble param[2]; |
| 912 | glGetDoublev(GL_DEPTH_RANGE, param); |
| 913 | zmin = static_cast<float>(param[0]); |
| 914 | zmax = static_cast<float>(param[1]); |
| 915 | } |
| 916 | |
| 917 | bool GL46Engine::Resize(uint32_t w, uint32_t h) |
| 918 | { |