From 483f01761392bb74ab061b30785081883a0ecf04 Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Wed, 21 Feb 2018 08:19:49 -0800 Subject: [PATCH] fix VR build --- examples/StandaloneMain/hellovr_opengl_main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/StandaloneMain/hellovr_opengl_main.cpp b/examples/StandaloneMain/hellovr_opengl_main.cpp index 76517c2e6..353e18773 100644 --- a/examples/StandaloneMain/hellovr_opengl_main.cpp +++ b/examples/StandaloneMain/hellovr_opengl_main.cpp @@ -1278,16 +1278,9 @@ bool CMainApplication::SetupTexturemaps() glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR ); glTexParameteri( GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR ); -#ifdef WIN32 GLfloat fLargest; -#ifdef B3_USE_GLFW glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY, &fLargest); glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY, fLargest); -#else - glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &fLargest); - glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, fLargest); -#endif -#endif glBindTexture( GL_TEXTURE_2D, 0 ); return ( m_iTexture != 0 );