SDL과 OpenGL을 이용한 텍스쳐 그리기소스코드 : https://github.com/huiyueun/GraphicsStudy/tree/master/texture_sample 먼저 SDL_LoadBMP() API를 통해 그림파일(bmp)을 로드한다. (다른 확장자를 로드하려면 SDL_Image 활용)12SDL_Surface* image_surface;image_surface = SDL_LoadBMP("./cat512.bmp");csSDL_Surface는 화면에 그려질 이미지 정보를 담고 있게 된다. 이 데이터 정보를 갖고 있어, 이 데이터 정보를 통해 gl로 그리면 된다.SDL_Surface Data FieldsUint32flags(internal use)SDL_PixelFormat*formatthe..