getdisplaymode and overlays

Mike Papper mpapp at
Thu May 30 21:04:52 AEST 1991


If I'm in RGB mode in the normal framebuffer
and have previously allocated overlay planes,
and do a
drawmode(OVERDRAW);
I go into overdraw mode but am still in RGBmode.
Calls to getdisplaymode and getdrawmode confirms this.
Both color(#) and c3i(r,g,b) do not cause the current color
to change (getcolor and gRGBcolor maintain the color is 0 or 0,0,0).

According to GL man pages each drawing mode maintains its own copy of
cmap or RGBmode and the current color.
This does not seem to be the case.

What the hell is going on, even if getdisplaymode only really "works"
for the normal framebuffer I end up not being able to
draw into the overlay bitplanes, indicating that somethings wrong.

e-mail inquires would be appreciated.

Mike Papper
mpapp at godzilla.cgl.rmit.oz.au



More information about the Comp.sys.sgi mailing list