X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FOpenGl%2FOpenGl_View.hxx;h=ef3dd2c7eb2d4afd31c3316fa1fdb8aaa18c5d8f;hp=a88fdaf4c0b240ee09ac2e5b180e780e158e50ba;hb=fc73a20256434f2b81c4c63cf3c9b6ec47b4122e;hpb=54e37688ef25fbe2a9199f7455527a1020709640 diff --git a/src/OpenGl/OpenGl_View.hxx b/src/OpenGl/OpenGl_View.hxx index a88fdaf4c0..ef3dd2c7eb 100644 --- a/src/OpenGl/OpenGl_View.hxx +++ b/src/OpenGl/OpenGl_View.hxx @@ -171,7 +171,7 @@ class OpenGl_View : public MMgt_TShared const Aspect_CLayer2d& theCOverLayer); - void DrawBackground (const Handle(OpenGl_Workspace)& theWorkspace); + void DrawBackground (OpenGl_Workspace& theWorkspace); //! Returns list of OpenGL Z-layers. const OpenGl_LayerList& LayerList() const { return myZLayers; } @@ -194,10 +194,8 @@ class OpenGl_View : public MMgt_TShared return myImmediateList; } -#ifdef HAVE_OPENCL //! Returns modification state for ray-tracing. Standard_Size ModificationState() const { return myModificationState; } -#endif protected: @@ -269,9 +267,7 @@ protected: StateInfo myLastViewMappingState; StateInfo myLastLightSourceState; -#ifdef HAVE_OPENCL Standard_Size myModificationState; -#endif public: