new crosshair + minor refactor

This commit is contained in:
MihailRis
2024-02-14 04:38:34 +03:00
parent 1145267308
commit ef81a024c9
6 changed files with 61 additions and 38 deletions
+3
View File
@@ -175,6 +175,9 @@ void Window::setBlendMode(blendmode mode) {
case blendmode::addition:
glBlendFunc(GL_SRC_ALPHA, GL_ONE);
break;
case blendmode::inversion:
glBlendFunc(GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA);
break;
}
}