Applied review requested changes for #3125

- Reverted stb_image.h changes to prevent future merge conflicts.
- Added #pragma warning before and after stb_image header to disable and enable 'unreferenced formal parameter' warning.
This commit is contained in:
Marc-Antoine Lortie
2020-04-03 07:50:07 -04:00
parent 895675535a
commit fa9ccfba61
2 changed files with 4 additions and 2 deletions

View File

@@ -18,8 +18,10 @@
#include <GL/gl.h>
#include <GL/glu.h>
#pragma warning(disable: 4100) // Disable warning 'unreferenced formal parameter'
#define STB_IMAGE_IMPLEMENTATION
#include "contrib/stb_image/stb_image.h"
#pragma warning(default: 4100) // Enable warning 'unreferenced formal parameter'
#include <fstream>