move .h to .hpp
This commit is contained in:
parent
acf416f4b6
commit
85a1e21307
@ -20,7 +20,7 @@
|
||||
|
||||
shellHook = ''
|
||||
echo "Run:"
|
||||
echo 'g++ shader.cpp -o test -lglfw -lGLEW -lGL && ./test'
|
||||
echo 'g++ shader.cpp -o shader -lglfw -lGLEW -lGL && ./shader'
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#define STB_IMAGE_IMPLEMENTATION
|
||||
#include "stb_image.h"
|
||||
#include "stb_image.hpp"
|
||||
|
||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||
#include "stb_image_write.h"
|
||||
#include "stb_image_write.hpp"
|
||||
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
@ -144,4 +144,4 @@ int main()
|
||||
stbi_write_jpg("frameO.jpg",w,h,4,out.data(),90);
|
||||
|
||||
std::cout << "done\n";
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user