Comments
This commit is contained in:
@@ -20,6 +20,7 @@ if(DEBUG)
|
|||||||
# -Og = Optimizations that do not interfere with debugging
|
# -Og = Optimizations that do not interfere with debugging
|
||||||
# -Wall = All warnings about contructions that are easily avoidable
|
# -Wall = All warnings about contructions that are easily avoidable
|
||||||
# -Wextra = Extra warning flags not covered by -Wall
|
# -Wextra = Extra warning flags not covered by -Wall
|
||||||
|
# -g = Produce debugging information in OS's native format
|
||||||
# -pg = Generate profile information for analysis with gprof
|
# -pg = Generate profile information for analysis with gprof
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Og -Wall -Wextra -g -pg")
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Og -Wall -Wextra -g -pg")
|
||||||
# gprof <GAME> gmon.out > profile-data.txt
|
# gprof <GAME> gmon.out > profile-data.txt
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
#ifndef SHADER_H
|
#ifndef SHADER_H
|
||||||
#define SHADER_H
|
#define SHADER_H
|
||||||
|
|
||||||
#define INFO_LOG_SIZE 512
|
|
||||||
|
|
||||||
#include <cstdint> // std::int32_t, std::uint32_t
|
#include <cstdint> // std::int32_t, std::uint32_t
|
||||||
#include <string> // std::string
|
#include <string> // std::string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user