mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
Cosmetics appearance shadow and frame. Cleanup rsc folder
This commit is contained in:
2
View.cpp
2
View.cpp
@@ -199,9 +199,9 @@ uint MixingView::textureMixingQuadratic()
|
||||
++l;
|
||||
}
|
||||
// two components texture : luminance and alpha
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, CIRCLE_PIXELS, CIRCLE_PIXELS, 0, GL_RGBA, GL_UNSIGNED_BYTE, (float *) matrix);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
|
||||
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, CIRCLE_PIXELS, CIRCLE_PIXELS, 0, GL_RGBA, GL_UNSIGNED_BYTE, (float *) matrix);
|
||||
|
||||
}
|
||||
return texid;
|
||||
|
||||
Reference in New Issue
Block a user