GLMeta: Eliminate redundant parameter

This commit is contained in:
Jonas Kulla 2015-07-07 15:25:48 +02:00
parent 2d31d08fa6
commit 61849a9158
2 changed files with 3 additions and 4 deletions

View File

@ -175,9 +175,9 @@ void blitSource(TEXFBO &source)
} }
} }
void blitRectangle(const IntRect &src, const Vec2i &dstPos, bool smooth) void blitRectangle(const IntRect &src, const Vec2i &dstPos)
{ {
blitRectangle(src, IntRect(dstPos.x, dstPos.y, src.w, src.h), smooth); blitRectangle(src, IntRect(dstPos.x, dstPos.y, src.w, src.h), false);
} }
void blitRectangle(const IntRect &src, const IntRect &dst, bool smooth) void blitRectangle(const IntRect &src, const IntRect &dst, bool smooth)

View File

@ -68,8 +68,7 @@ void vaoUnbind(VAO &vao);
void blitBegin(TEXFBO &target); void blitBegin(TEXFBO &target);
void blitBeginScreen(const Vec2i &size); void blitBeginScreen(const Vec2i &size);
void blitSource(TEXFBO &source); void blitSource(TEXFBO &source);
void blitRectangle(const IntRect &src, const Vec2i &dstPos, void blitRectangle(const IntRect &src, const Vec2i &dstPos);
bool smooth = false);
void blitRectangle(const IntRect &src, const IntRect &dst, void blitRectangle(const IntRect &src, const IntRect &dst,
bool smooth = false); bool smooth = false);
void blitEnd(); void blitEnd();