... data type image->pixels // pointer to data ); /* 處理後事*/ glBindTexture(GL_TEXTURE_2D, 0); SDL_FreeSurface(image); } ...
確定! 回上一頁