diff options
Diffstat (limited to 'Game/Code')
-rw-r--r-- | Game/Code/Classes/UVisualizer.pas | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Game/Code/Classes/UVisualizer.pas b/Game/Code/Classes/UVisualizer.pas index a49187e7..fc5eacbf 100644 --- a/Game/Code/Classes/UVisualizer.pas +++ b/Game/Code/Classes/UVisualizer.pas @@ -98,9 +98,6 @@ begin glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); - New(pm); - projectM_reset(pm); - end; function TVideoPlayback_ProjectM.GetName: String; @@ -180,8 +177,8 @@ procedure TVideoPlayback_ProjectM.VisualizerStart; begin VisualizerStarted := True; -// New(pm); -// projectM_reset(pm); + New(pm); + projectM_reset(pm); writeln('Render Target'); writeln( inttostr( integer( assigned(pm^.renderTarget) ) ) ); |