aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/hyprerror/HyprError.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-11-07 20:31:56 +0000
committervaxerski <[email protected]>2022-11-07 20:31:56 +0000
commite3a3837164ab4372d818f9d6b0e71731a118576c (patch)
tree5b19556f13a3588d85e229e520126b049655eb95 /src/hyprerror/HyprError.cpp
parentc86ab4694ce610fde69baeadec5e0166dac8396a (diff)
downloadHyprland-e3a3837164ab4372d818f9d6b0e71731a118576c.tar.gz
Hyprland-e3a3837164ab4372d818f9d6b0e71731a118576c.zip
fix up formatting
Diffstat (limited to 'src/hyprerror/HyprError.cpp')
-rw-r--r--src/hyprerror/HyprError.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hyprerror/HyprError.cpp b/src/hyprerror/HyprError.cpp
index 3f53ef68..16543f9d 100644
--- a/src/hyprerror/HyprError.cpp
+++ b/src/hyprerror/HyprError.cpp
@@ -67,10 +67,10 @@ void CHyprError::createQueued() {
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
- #ifndef GLES2
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_BLUE);
- glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_B, GL_RED);
- #endif
+#ifndef GLES2
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_R, GL_BLUE);
+ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_SWIZZLE_B, GL_RED);
+#endif
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, PMONITOR->vecPixelSize.x, PMONITOR->vecPixelSize.y, 0, GL_RGBA, GL_UNSIGNED_BYTE, DATA);