Remove uses of the MENV30 define.
authorcomand <comand@users.noreply.github.com>
Fri, 12 Jan 2024 18:40:38 +0000 (10:40 -0800)
committerpixar-oss <pixar-oss@users.noreply.github.com>
Fri, 12 Jan 2024 18:50:49 +0000 (10:50 -0800)
(Internal change: 2311372)

pxr/imaging/glf/testGLContext.cpp

index 0ddda43592066b1c2da651a0ec7bbb19bd17401d..1d250770f6a8650691e4771d893911ff70b6bb19 100644 (file)
@@ -217,15 +217,10 @@ GlfTestGLContext::_MakeCurrent()
 bool
 GlfTestGLContext::_IsSharing(GlfGLContextSharedPtr const & otherContext)const
 {
-#ifdef MENV30
     GlfTestGLContextSharedPtr otherGlfTestGLContext =
         std::dynamic_pointer_cast<GlfTestGLContext>(otherContext);
     return (otherGlfTestGLContext &&
             Glf_TestGLContextPrivate::areSharing(_context, otherGlfTestGLContext->_context));
-#else
-    TF_CODING_ERROR("Glf_TestGLContextPrivate::areSharing() is not supported outside of Presto.");
-    return false;
-#endif
 }
 
 bool