Fix cursor transparency
This commit is contained in:
@@ -845,8 +845,6 @@ void WorldRender::draw (glm::mat4x4 const& model_view
|
||||
gl.bindVertexArray(0);
|
||||
}
|
||||
|
||||
gl.disable(GL_BLEND);
|
||||
|
||||
if (angled_mode || use_ref_pos)
|
||||
{
|
||||
ZoneScopedN("World::draw() : Draw angles");
|
||||
|
||||
@@ -172,7 +172,6 @@ void main()
|
||||
|
||||
float NaN = makeNaN(1);
|
||||
|
||||
|
||||
dvec4 pos_after_holecheck = (is_hole ? dvec4(NaN, NaN, NaN, 1.0) : dvec4(pos, 1.0));
|
||||
gl_Position = projection * model_view * vec4(pos_after_holecheck);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user