[hlcoders] DrawSetTextureRGBA and Hardware Filtering

2008-09-29 Thread Justin Krenz
Does a texture made with DrawSetTextureRGBA not support hardware filtering at all? There's a bool in the function to enable hardware filtering, but alternating between the two doesn't change my texture from being scaled via pixel doubling. It ends up looking like shit if I don't use a multiple

Re: [hlcoders] DrawSetTextureRGBA and procedural textures broken.. is there anything else ?

2006-05-06 Thread Garry Newman
-- [ Picked text/plain from multipart/alternative ] Yahn sent me this a while back to load/display TGA's void CTGAImagePanel::Paint() { if ( !m_bLoadedTexture ) { m_bLoadedTexture = true; // get a texture id, if we haven't already if (

[hlcoders] DrawSetTextureRGBA and procedural textures broken.. is there anything else ?

2006-05-05 Thread Paul Peloski
-- [ Picked text/plain from multipart/alternative ] Hi Guys, DrawSetTextureRGBA does not seem to be working. I am calling it like this: surface()-DrawSetTextureRGBA( m_TextureID, (unsigned char*)m_TextureImage, m_Width, m_Height, false, false ); surface()-DrawSetTexture( m_TextureID );

[hlcoders] DrawSetTextureRGBA

2005-05-31 Thread Jethro Beekman
Hi, I can't get DrawSetTextureRGBA to work. At first it draws some weapons from the weapons ttf, and later it paints all kinds of crosshairs. The 'solutions' in the mailing list (see March 2005) don't work. I use the following code: http://deathz0rz.homeunix.net/svgimage/vgui_svgpanel.cpp (see

[hlcoders] DrawSetTextureRGBA

2005-03-03 Thread Jethro Beekman
Hi, I can't get DrawSetTextureRGBA to work. I use the following code: http://deathz0rz.homeunix.net/svgimage/vgui_svgpanel.cpp (see the directory for other headers and libs) DrawSetTextureFile works fine, and my renderer also works fine, because I tried writing the buffer to a file. Also, I have