소스 검색

added comment

pull/4831/head
snoopyPlayz 2 달 전
부모
커밋
10f9a1ea4f
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      src/rlgl.h

+ 2
- 0
src/rlgl.h 파일 보기

@ -4045,6 +4045,8 @@ void rlSetVertexAttribute(unsigned int index, int compSize, int type, bool norma
void rlSetVertexAttributeI(unsigned int index, int compSize, int type, int stride, int offset)
{
#if defined(GRAPHICS_API_OPENGL_33) || defined(GRAPHICS_API_OPENGL_ES2)
// NOTE: Data type could be: GL_BYTE, GL_UNSIGNED_BYTE, GL_SHORT, GL_UNSIGNED_SHORT, GL_INT, GL_UNSIGNED_INT
size_t offsetNative = offset;
glVertexAttribIPointer(index, compSize, type, stride, (void *)offsetNative);

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