We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c435012 commit 3cd8efaCopy full SHA for 3cd8efa
src/libprojectM/Renderer/Renderable.cpp
@@ -189,7 +189,13 @@ void Shape::Draw(RenderContext &context)
189
context.aspectRatio=1.0;
190
}
191
192
-
+ else
193
+ {
194
+ glActiveTexture(GL_TEXTURE0);
195
+ glBindTexture(GL_TEXTURE_2D, context.textureManager->getMainTexture()->texID);
196
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
197
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
198
+ }
199
200
//Define the center point of the shape
201
buffer_data[0].color_r = r;
0 commit comments