On Wednesday 12 July 2006 2:13 pm, Garry Newman wrote:
> I use OnScreenSizeChanged
>
> ISurface.h
>
> // video mode changing
> virtual void OnScreenSizeChanged( int nOldWidth, int nOldHeight ) = 0;
>
> Does the job I think.

That gave me a pretty good idea, which I'm using right now.  Hook
OnScreenSizeChanged on CBaseViewport, and just gHUD.Shutdown() then
gHUD.Init().

Works well enough.

-John Sheu

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

Reply via email to