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