Commit 320fc988 authored by Libretro-Admin's avatar Libretro-Admin
Browse files
parent da597030
......@@ -603,7 +603,7 @@ endif
CFLAGS += $(fpic)
CXXFLAGS += $(fpic)
$(LDFLAGS_END) LDFLAGS += $(fpic)
LDFLAGS += $(fpic)
OBJECTS := $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o) $(SOURCES_ASM:.S=.o)
......
......@@ -642,11 +642,9 @@ void DrawStrips(GLuint output_fbo)
if (texSamplers[0] == 0)
glGenSamplers(2, texSamplers);
glcache.ClearColor(0, 0, 0, 0);
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
glcache.DepthMask(GL_TRUE);
glStencilMask(0xFF);
glClear(GL_COLOR_BUFFER_BIT | GL_STENCIL_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glCheck();
glClear(GL_STENCIL_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glCheck();
SetupMainVBO();
//Draw the strips !
......
......@@ -993,8 +993,6 @@ static bool RenderFrame(void)
// Color is cleared by the background plane
glcache.Disable(GL_SCISSOR_TEST);
glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE);
glClear(GL_COLOR_BUFFER_BIT); glCheck();
//move vertex to gpu
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment