diff options
| author | xqso <69903545+xqso@users.noreply.github.com> | 2025-07-25 15:19:23 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-25 17:19:23 +0200 |
| commit | 5c8d675eedcd836cbb0d4eeadf203efc7f73752b (patch) | |
| tree | 568ef38b465157d9b019032589f744def3ab930b /src/render | |
| parent | fd0c1f2ab492e8977305b6d00a6ea1cc293d6b6b (diff) | |
ci: correct tar command for xz compression & fix typos (#11213)
Diffstat (limited to 'src/render')
| -rw-r--r-- | src/render/OpenGL.cpp | 2 | ||||
| -rw-r--r-- | src/render/Renderer.cpp | 4 | ||||
| -rw-r--r-- | src/render/shaders/glsl/border.frag | 2 | ||||
| -rw-r--r-- | src/render/shaders/glsl/rounding.glsl | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 6737f8c1..3526f622 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -855,7 +855,7 @@ void CHyprOpenGLImpl::end() { // if we dropped to offMain, release it now. // if there is a plugin constantly using it, this might be a bit slow, - // but I havent seen a single plugin yet use these, so it's better to drop a bit of vram. + // but I haven't seen a single plugin yet use these, so it's better to drop a bit of vram. if (m_renderData.pCurrentMonData->offMainFB.isAllocated()) m_renderData.pCurrentMonData->offMainFB.release(); diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 918a6e94..43168837 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -2414,7 +2414,7 @@ void CHyprRenderer::makeSnapshot(PHLWINDOW pWindow) { // we need to "damage" the entire monitor // so that we render the entire window - // this is temporary, doesnt mess with the actual damage + // this is temporary, doesn't mess with the actual damage CRegion fakeDamage{0, 0, (int)PMONITOR->m_transformedSize.x, (int)PMONITOR->m_transformedSize.y}; PHLWINDOWREF ref{pWindow}; @@ -2447,7 +2447,7 @@ void CHyprRenderer::makeSnapshot(PHLLS pLayer) { // we need to "damage" the entire monitor // so that we render the entire window - // this is temporary, doesnt mess with the actual damage + // this is temporary, doesn't mess with the actual damage CRegion fakeDamage{0, 0, (int)PMONITOR->m_transformedSize.x, (int)PMONITOR->m_transformedSize.y}; makeEGLCurrent(); diff --git a/src/render/shaders/glsl/border.frag b/src/render/shaders/glsl/border.frag index 38ae24c0..d93773fd 100644 --- a/src/render/shaders/glsl/border.frag +++ b/src/render/shaders/glsl/border.frag @@ -127,7 +127,7 @@ void main() { pixCoord -= fullSize * 0.5 - radius; pixCoordOuter -= fullSize * 0.5 - radiusOuter; - // center the pixes dont make it top-left + // center the pixes don't make it top-left pixCoord += vec2(1.0, 1.0) / fullSize; pixCoordOuter += vec2(1.0, 1.0) / fullSize; diff --git a/src/render/shaders/glsl/rounding.glsl b/src/render/shaders/glsl/rounding.glsl index cae34465..472415fd 100644 --- a/src/render/shaders/glsl/rounding.glsl +++ b/src/render/shaders/glsl/rounding.glsl @@ -12,7 +12,7 @@ vec4 rounding(vec4 color) { pixCoord -= topLeft + fullSize * 0.5; pixCoord *= vec2(lessThan(pixCoord, vec2(0.0))) * -2.0 + 1.0; pixCoord -= fullSize * 0.5 - radius; - pixCoord += vec2(1.0, 1.0) / fullSize; // center the pix dont make it top-left + pixCoord += vec2(1.0, 1.0) / fullSize; // center the pix don't make it top-left if (pixCoord.x + pixCoord.y > radius) { float dist = pow(pow(pixCoord.x, roundingPower) + pow(pixCoord.y, roundingPower), 1.0/roundingPower); |
