diff options
author | Andy Maloney <asmaloney@gmail.com> | 2013-02-10 08:43:30 -0500 |
---|---|---|
committer | Andy Maloney <asmaloney@gmail.com> | 2013-02-10 08:43:30 -0500 |
commit | 94706750da3c2f8369f456c77e45993dceb23506 (patch) | |
tree | 927f1f3f039511303f83e114089984f1922564c5 | |
parent | e207e6158285adcf58727f339899f728a9b0acd7 (diff) |
Fix comparison which should be a dereference
-rw-r--r-- | xbmc/visualizations/XBMCProjectM/libprojectM/FBO.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |