3/2 wined3d: move palette uploading code over to blit_shader [attempt 2]

Roderick Colenbrander thunderbird2k at gmail.com
Wed Mar 3 08:48:42 CST 2010


Hi,

This version contains a lot of improvements:
- got rid of width/height and other parameters in set_shader because
they are unneeded
- added DECLSPEC_HIDDEN for the init palette call
- got rid of unneeded context code in RealizePalette
- added a comment that upload_palette requires a context
- fixed glBindTexture bug in upload_palette

Further to answer 'Also, what happens to any previous textures bound
on that unit?' this is taken care of by the caller (it sets up a
context for blitting).

Roderick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Move-palette-uploading-to-the-blit_shader-code.patch
Type: text/x-diff
Size: 11753 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100303/cc23055d/attachment-0001.patch>


More information about the wine-patches mailing list