From 94706750da3c2f8369f456c77e45993dceb23506 Mon Sep 17 00:00:00 2001 From: Andy Maloney Date: Sun, 10 Feb 2013 08:43:30 -0500 Subject: Fix comparison which should be a dereference --- xbmc/visualizations/XBMCProjectM/libprojectM/FBO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/visualizations/XBMCProjectM/libprojectM/FBO.cpp b/xbmc/visualizations/XBMCProjectM/libprojectM/FBO.cpp index 9c187f3360..5edef799a6 100644 --- a/xbmc/visualizations/XBMCProjectM/libprojectM/FBO.cpp +++ b/xbmc/visualizations/XBMCProjectM/libprojectM/FBO.cpp @@ -194,7 +194,7 @@ RenderTarget::RenderTarget(int texsize, int width, int height, bool use_fbo) : u int mindim = width < height ? width : height; int origtexsize = this->texsize; this->texsize = nearestPower2( mindim, SCALE_MINIFY ); - if (!this>useFBO) { + if (!this->useFBO) { this->texsize = origtexsize; // ^-- ok, texsize is just ignored with the previous assignment } /* Create the texture that will be bound to the render this */ -- cgit v1.2.3