mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-09 23:05:59 +01:00
And now fix the placeholder
This commit is contained in:
parent
198fc90df5
commit
e225d949e7
1 changed files with 2 additions and 2 deletions
|
@ -200,7 +200,7 @@ void CHyprOpenGLImpl::clear(const CColor& color) {
|
||||||
void CHyprOpenGLImpl::scissor(const wlr_box* pBox) {
|
void CHyprOpenGLImpl::scissor(const wlr_box* pBox) {
|
||||||
RASSERT(m_RenderData.pMonitor, "Tried to scissor without begin()!");
|
RASSERT(m_RenderData.pMonitor, "Tried to scissor without begin()!");
|
||||||
|
|
||||||
if (!pBox || true) {
|
if (!pBox) {
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -212,7 +212,7 @@ void CHyprOpenGLImpl::scissor(const wlr_box* pBox) {
|
||||||
void CHyprOpenGLImpl::scissor(const pixman_box32* pBox) {
|
void CHyprOpenGLImpl::scissor(const pixman_box32* pBox) {
|
||||||
RASSERT(m_RenderData.pMonitor, "Tried to scissor without begin()!");
|
RASSERT(m_RenderData.pMonitor, "Tried to scissor without begin()!");
|
||||||
|
|
||||||
if (!pBox || true) {
|
if (!pBox) {
|
||||||
glDisable(GL_SCISSOR_TEST);
|
glDisable(GL_SCISSOR_TEST);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue