Browse Source

Let user choose to clear scissor area

Ray 6 năm trước cách đây
mục cha
commit
f1bcc131dc
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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);
     glEnable(GL_SCISSOR_TEST);
     glScissor(x, screenHeight - (y + height), width, height);
     glScissor(x, screenHeight - (y + height), width, height);
-    
-    rlClearScreenBuffers(); // Clear current scissor area
 }
 }
 
 
 // End scissor mode
 // End scissor mode