I noticed that when using PostRenderVGui, the 2D items I rendered would be 
offset vertically down whenever the Centerprint VGUI panel activated.  I 
eventually tracked down this as a fix.  I haven't filed a zilla on it though 
because I'm wondering if maybe I'm using it inappropriately?

--- ./mod/src/cl_dll/view_scene.cpp     10 Dec 2006 02:28:39 -0000      1.5
+++ ./mod/src/cl_dll/view_scene.cpp     15 Jan 2007 07:05:03 -0000
@@ -3485,6 +3485,8 @@
                // The crosshair, etc. needs to get at the current setup stuff
                AllowCurrentViewAccess( true );

+               g_pClientMode->PostRenderVGui();
+
                // Draw the in-game stuff based on the actual viewport being 
used
                render->VGui_Paint( PAINT_INGAMEPANELS );

@@ -3492,7 +3494,6 @@

                VGui_PostRender();

-               g_pClientMode->PostRenderVGui();
                materials->Flush();
        }

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to