HACK: make compositor work. Get glname from undistorted texture and put to compositor. need vr_use_offscreen_rendering enabled and multicore rendering disabled to work

This commit is contained in:
mittorn
2023-09-16 03:39:09 +03:00
parent 82d805508c
commit f4e00c3159
7 changed files with 115 additions and 8 deletions

View File

@@ -1093,6 +1093,7 @@ public:
// Performs final verification of all compositor templates (after they've all been initially loaded).
virtual bool VerifyTextureCompositorTemplates( ) = 0;
virtual uint32_t GetShaderAPIGLTexture( ITexture *pTexture, int nFrame, int nTextureChannel ) = 0;
};