I dont see a way to make an ImagePanel draw RGBA data. So I have to use DrawSetTextureRGBA(). The way explained in the list archives doesnt work. I'm trying to explain that to you all the time. Therefore I asked you to send me a working (ie: tested by you) example of how to use DrawSetTextureRGBA(), not DrawSetTextureFile().
deathz0rz
Alfred Reynolds writes:
You should not call DrawSetTextureRGBA() directly, use an ImagePanel instead. If you must use DrawSetTextureRGBA() then see the list archives for how to use it.
- Alfred
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jethro Beekman Sent: Tuesday, March 22, 2005 7:40 AM To: hlcoders@list.valvesoftware.com Subject: [hlcoders] Re: DrawSetTextureRGBA
Hi again,
Maybe you can supply me with a _working_ example using DrawSetTextureRGBA? Because my code _works_ when I use DrawSetTextureFile. And the buffer data is correct, I tested it by writing the buffer to a file. So I guess the problem is with DrawSetTextureRGBA, either I dont call it the right way, or it isnt implemented right in the engine.
deathz0rz
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders