Skip to content

Commit cb4feb3

Browse files
Fix issue #85: projectM_resetGL not resizing as expected
1 parent 17eea19 commit cb4feb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/libprojectM/Renderer/Renderer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,9 @@ void Renderer::reset(int w, int h)
459459
this -> vw = w;
460460
this -> vh = h;
461461

462+
delete renderTarget;
463+
renderTarget = new RenderTarget(texsize, vw, vh);
464+
462465
#if USE_CG
463466
shaderEngine.setAspect(aspect);
464467
#endif

0 commit comments

Comments
 (0)