fixed alpha blending for 'radial' inner circle

This commit is contained in:
Jarcode
2018-02-11 11:42:26 -08:00
parent 79b99b09be
commit 3df89da8bb
3 changed files with 6 additions and 6 deletions

View File

@@ -784,10 +784,10 @@ struct renderer* rd_new(const char** paths, const char* entry, const char* force
#ifdef GLFW_TRANSPARENT_FRAMEBUFFER
glfwWindowHint(GLFW_TRANSPARENT_FRAMEBUFFER, native_opacity ? GLFW_TRUE : GLFW_FALSE);
if (native_opacity) gl->use_alpha = false;
// if (native_opacity) gl->use_alpha = false;
#elif GLFW_TRANSPARENT
glfwWindowHint(GLFW_TRANSPARENT, native_opacity ? GLFW_TRUE : GLFW_FALSE);
if (native_opacity) gl->use_alpha = false;
// if (native_opacity) gl->use_alpha = false;
#else
if (native_opacity)
printf("WARNING: the linked version of GLFW3 does not have transparency support"