residualvm/residualvm — pull request #507 by somaen (2012-01-25 22:10:27+00:00)
Title: GRIM/GFX: Make OpenGL scalable and resolution-independent.

Mostly a pull request intended for review of the idea.

This pull-request adds scaling-support to the gfx_opengl-backend for GRIM, currently there are no plans of giving user-access to this, but it atleast shows the engine to be resolution-agnostic.

Known issues:
Copal's computer will have pin-stripes instead of a filled background for selection (probably something with glLineWidth that I didn't get down correctly).

For testing, simply set screenW and screenH to appropriate values in setupScreen in gfx_opengl.cpp.