aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-07 00:37:39 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-12-07 00:37:39 +0000
commit842af29c79390c0f78c2f004b463fe555ab01430 (patch)
treef644dfa404d4fff66d8f2e3b05d28ef54f7e5555 /Game/Code
parent73a9bf99b8993aa69f3ed77b36b0236fb1cde2ed (diff)
downloadusdx-842af29c79390c0f78c2f004b463fe555ab01430.tar.gz
usdx-842af29c79390c0f78c2f004b463fe555ab01430.tar.xz
usdx-842af29c79390c0f78c2f004b463fe555ab01430.zip
oops didnt mean to commit that.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@693 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r--Game/Code/Classes/UVisualizer.pas7
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) ) ) );