1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-01-27 17:49:19 +01:00

34 lines
891 B
Diff
Raw Normal View History

2010-06-06 23:22:23 +00:00
Index: projectM.cpp
===================================================================
--- projectM.cpp (revision 1048)
+++ projectM.cpp (revision 1049)
@@ -907,3 +907,13 @@
}
+void projectM::changeTextureSize(int size) {
+ _settings.textureSize = size;
+
+ delete renderer;
+ renderer = new Renderer(_settings.windowWidth, _settings.windowHeight,
+ _settings.meshX, _settings.meshY,
+ _settings.textureSize, beatDetect, _settings.presetURL,
+ _settings.titleFontURL, _settings.menuFontURL);
+}
+
Index: projectM.hpp
===================================================================
--- projectM.hpp (revision 1048)
+++ projectM.hpp (revision 1049)
@@ -153,9 +153,9 @@
virtual ~projectM();
+ void changeTextureSize(int size);
-
const Settings & settings() const {
return _settings;
}