new release of SCREEN to fix color on offscreen window

I have attached a new version of SCREEN to this message. It fixes a
bug where SCREEN would use an incorrect color value when drawing to an
offscreen window using any of the drawing commands, for example
'FillRect', or 'DrawText'.

Thanks to John Schlerf for the bug reports.


John_Schlerf@... wrote:

> I get a lot of palette errors when I try to use Screen's FillRect
> command on an offscreen window.
>
> Here's some code that generates the palette error:
>
> window = screen(0,'OpenWindow');
> window2 = screen(window,'OpenOffscreenWindow');
> screen(window2,'FillRect',2);
> screen('CloseAll');
>

Allen