<div dir="ltr"><div>Yes, it apparently works. GetDC also seems to honor individual palettes on sublevels, although I'm not fully done with tests there yet.<br><br></div>I think we can handle this in ddraw, but in that case ddraw will have to assume that SetDIBColorTable can be called on DCs returned by wined3d. The gdi backend in wined3d will partially duplicate this work for the frontbuffer.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-24 14:18 GMT+02:00 Henri Verbeet <span dir="ltr"><<a href="mailto:hverbeet@gmail.com" target="_blank">hverbeet@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 24 April 2014 13:45, Stefan Dösinger <<a href="mailto:stefandoesinger@gmail.com">stefandoesinger@gmail.com</a>> wrote:<br>
> This might work. A possible problem is that our code uses palettes to set up<br>
> the device context when getdc is called. This needs some more tests...<br>
><br>
</div>Provided it's supposed to work at all, we could probably move most of<br>
that to ddraw.<br>
</blockquote></div><br></div>