Setting a low resolution to mimic older games.

BlitzMax Forums/BlitzMax OpenGL Programming/Setting a low resolution to mimic older games.

Look at the documentation for glCopyTexSubImage2D() in the standard OpenGL reference online. You create a dummy texture with glTexImage2D like you already do in your code, but you don't pass any data to it (set the pixels pointer to Null). Then you just call glCopyTexSubImage2D() with the appropriate rectangle to copy it into the currently bound texture.