Changeset 10695 for OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp
- Timestamp:
- 10/27/09 20:17:38 (4 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgDB/DatabasePager.cpp
r10520 r10695 2008 2008 { 2009 2009 2010 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 1.0); 2010 #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) 2011 glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_PRIORITY, 1.0); 2012 #endif 2011 2013 2012 2014 // we have StateSet's to compile … … 2030 2032 (*itr)->compileGLObjects(state); 2031 2033 2032 GLint p; 2033 glGetTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_RESIDENT, &p); 2034 #if !defined(OSG_GLES1_AVAILABLE) && !defined(OSG_GLES2_AVAILABLE) 2035 GLint p; 2036 glGetTexParameteriv(GL_TEXTURE_2D, GL_TEXTURE_RESIDENT, &p); 2037 #endif 2034 2038 2035 2039 elapsedTime = timer.delta_s(start_tick,timer.tick()); 2036 2037 2040 2038 2041 // estimate the duration of the compile based on current compile duration.
