Clearscreen(color) does not work correctly

Just starting out? Need help? Post your questions and find answers here.
Poltergeist
Posts: 5
Joined: Fri Feb 06, 2015 10:14 am

Clearscreen(color) does not work correctly

Post by Poltergeist »

Hi,

I don't know if I'm doing it wrong, but if I use the following code:

Code: Select all

OpenScreen(DesktopWidth(1),DesktopHeight(1), 32, "test")
ClearScreen(RGB(255,0,0))
 FlipBuffers()
I get the correct color (bright red) on my desktopbrowser (IE11 and opera 29), on my phone (a Windows 8.1 phone) and most Android phones, but on my iPhone and iPad and some android phones the color is very pale, like it's much brighter then it should be. I suppose it has got to do with the browser, but I'm not sure

Also tested it with a depth of 24, but that did not make a difference. Did I stumble on an error, or am I doing something wrong here?