mirror of
https://github.com/JoeyDeVries/LearnOpenGL.git
synced 2026-01-30 20:13:22 +08:00
Issue #43
This commit is contained in:
@@ -156,10 +156,9 @@ int main()
|
|||||||
|
|
||||||
|
|
||||||
// Load textures
|
// Load textures
|
||||||
GLuint diffuseMap, specularMap, emissionMap;
|
GLuint diffuseMap, specularMap;
|
||||||
glGenTextures(1, &diffuseMap);
|
glGenTextures(1, &diffuseMap);
|
||||||
glGenTextures(1, &specularMap);
|
glGenTextures(1, &specularMap);
|
||||||
glGenTextures(1, &emissionMap);
|
|
||||||
int width, height;
|
int width, height;
|
||||||
unsigned char* image;
|
unsigned char* image;
|
||||||
// Diffuse map
|
// Diffuse map
|
||||||
|
|||||||
Reference in New Issue
Block a user