BMax and monitor rotation.

BlitzMax Forums/BlitzMax Programming/BMax and monitor rotation.

First of all, please explain what you are using to make the screen rotate. Is this a feature in the o/s? Is it a feature purely of your monitor? Is it some extra tool that you installed on your computer? So far it's a bit hard to understand exactly HOW you are getting the screen to rotate at all.

Max internally doesn't do rotated displays as the projection matrix is not set up that way. However, at least for OpenGL, lines such as:

glMatrix(GL_PROJECTION)
glRotatef(90.0,0,0,1) 'or -90, not sure of the format
glMatrix(GL_MODELVIEW)

might take care of it. This would make the max screen be rotated regardless of whether any other apps are. I presume however that you have some kind of other hardware or software thing that does rotation of ALL displays regardless? If you have problems with that it's the fault of that feature, not of blitzmax.