浏览代码

Let user choose to clear scissor area

Ray 6 年之前
父节点
当前提交
f1bcc131dc
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/rlgl.h

+ 0 - 2
src/rlgl.h

@@ -3329,8 +3329,6 @@ void BeginScissorMode(int x, int y, int width, int height)
     
     glEnable(GL_SCISSOR_TEST);
     glScissor(x, screenHeight - (y + height), width, height);
-    
-    rlClearScreenBuffers(); // Clear current scissor area
 }
 
 // End scissor mode