소스 검색

Review buffer limits on rectangle drawing

pull/1262/head
raysan5 5 년 전
부모
커밋
cdbe1b6190
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/shapes.c

+ 2
- 0
src/shapes.c 파일 보기

@ -618,6 +618,8 @@ void DrawRectangleRec(Rectangle rec, Color color)
// Draw a color-filled rectangle with pro parameters
void DrawRectanglePro(Rectangle rec, Vector2 origin, float rotation, Color color)
{
if (rlCheckBufferLimit(4)) rlglDraw();
rlEnableTexture(GetShapesTexture().id);
rlPushMatrix();

불러오는 중...
취소
저장