mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
18 lines
533 B
Diff
18 lines
533 B
Diff
Index: Renderer/FBO.cpp
|
|
===================================================================
|
|
--- Renderer/FBO.cpp (revision 2090)
|
|
+++ Renderer/FBO.cpp (working copy)
|
|
@@ -187,8 +187,11 @@
|
|
{
|
|
int mindim = width < height ? width : height;
|
|
int origtexsize = this->texsize;
|
|
- this->texsize = nearestPower2( mindim, SCALE_MINIFY );
|
|
+ this->texsize = nearestPower2( mindim, SCALE_MINIFY );
|
|
|
|
+ if (origtexsize == texsize)
|
|
+ return;
|
|
+
|
|
/* Create the texture that will be bound to the render this */
|
|
/*
|
|
|