- added second vertex coordinate attribute for model interpolation.

This commit is contained in:
Christoph Oelckers 2014-06-29 11:00:21 +02:00
commit ffcb6cb70a
7 changed files with 28 additions and 13 deletions

View file

@ -386,6 +386,11 @@ FNativePalette *OpenGLFrameBuffer::CreatePalette(FRemapTable *remap)
//==========================================================================
bool OpenGLFrameBuffer::Begin2D(bool)
{
glActiveTexture(GL_TEXTURE7);
glMatrixMode(GL_TEXTURE);
glLoadIdentity();
glActiveTexture(GL_TEXTURE0);
glLoadIdentity();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glMatrixMode(GL_PROJECTION);