no …
for example the other applications uses green… but when i turn on my opengl application, the green from the other applications is replaced by grey or some other colors.
I think the opengl APIs glColor3f may have allocated the colors but didnt free them after using.
First I think you need to study more on how the graphics system in your machine works.
The normally applications in a windows type application; this includes a “Unix” based windows program (there could be some exceptions). The window shell controls what is called the pallet, this is why when you go to the control panel and change the desktop theme all the colors of the menus also change.
I do not know what GL call’s you are making, but seems to me that you are causing the system pallet to be altered. Since your other windows program does not do any color control itself, but by what the system set’s it as. When the GL program is called for some reason it is resetting a color on the pallet, thus making the color in your other program change. The only way I could tell you what maybe doing this is to see you program code.
Understand that the glColor does not alter or allocate the system pallet; therefore if your program is effecting other programs then it must be some other call being made in your program.
Originally posted by opengl idiot:
[b]no …
for example the other applications uses green… but when i turn on my opengl application, the green from the other applications is replaced by grey or some other colors.
I think the opengl APIs glColor3f may have allocated the colors but didnt free them after using.