glEnable(GL_TEXTURE_2D); // Enable 2D Texture // Create texture based on the imageData glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, IMAGE_COLS, IMAGE_ROWS, 0, GL_RGB, ...
確定! 回上一頁