Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/application
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-04-11 16:27:46 +1000
committerKae <80987908+Novaenia@users.noreply.github.com>2024-04-11 16:27:46 +1000
commitd255328476f1d3dd76bfd1dec550fddeab7c11ba (patch)
tree7bd11ae0952b05cee60a8ad527cd99818fabc6c0 /source/application
parente3ab4485539ef2e84a4c9478ffe56f48e30fee42 (diff)
Humanoid: apply globalOffset *before* rotation
the globalOffset is meant to realign the sprite with the collision poly - applying it after rotating the drawables is bad! (I actually ACCIDENTALLY fixed this in StarExtensions and only noticed the difference today. quite incredible)
Diffstat (limited to 'source/application')
-rw-r--r--source/application/StarRenderer_opengl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/application/StarRenderer_opengl.cpp b/source/application/StarRenderer_opengl.cpp
index d8b26e8..90d691e 100644
--- a/source/application/StarRenderer_opengl.cpp
+++ b/source/application/StarRenderer_opengl.cpp
@@ -434,7 +434,7 @@ void OpenGlRenderer::setMultiSampling(unsigned multiSampling) {
glEnable(GL_SAMPLE_SHADING);
glMinSampleShading((float)m_multiSampling);
} else {
- glMinSampleShading(1.f);
+ glMinSampleShading(0.f);
glDisable(GL_SAMPLE_SHADING);
glDisable(GL_MULTISAMPLE);
}