Still doesn't work. I uploaded the change vgui_svgimage.cpp
(http://deathz0rz.homeunix.net/svgimage/vgui_svgpanel.cpp). When I call
DrawSetTexture() before drawing, it appears to use DrawFilledRect(), and
when I just call DrawSetTextureRGBA() before drawing, it draws the
crosshairs sprite (memory leakage?). Note: I use the static buffer.

deathz0rz

See my email titled "RE: [hlcoders] Texturing a HuD Element -- need
help" from yesterday, it answers this question also.

- Alfred


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



Reply via email to