- adjustments for the DrawTexture interface changes.

This commit is contained in:
Christoph Oelckers 2016-04-09 13:05:43 +02:00
commit 1f0fd85d0e
4 changed files with 5 additions and 10 deletions

View file

@ -402,14 +402,9 @@ bool OpenGLFrameBuffer::Begin2D(bool)
//
//==========================================================================
void STACK_ARGS OpenGLFrameBuffer::DrawTextureV(FTexture *img, double x0, double y0, uint32 tag, va_list tags)
void STACK_ARGS OpenGLFrameBuffer::DrawTextureParms(FTexture *img, DrawParms &parms)
{
DrawParms parms;
if (ParseDrawTextureTags(img, x0, y0, tag, tags, &parms, true))
{
if (GLRenderer != NULL) GLRenderer->DrawTexture(img, parms);
}
if (GLRenderer != NULL) GLRenderer->DrawTexture(img, parms);
}
//==========================================================================