Browse Source

Comments

master
Riyyi 5 years ago
parent
commit
b6f96b3e38
  1. 1
      CMakeLists.txt
  2. 2
      inferno/src/inferno/render/shader.h

1
CMakeLists.txt

@ -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

2
inferno/src/inferno/render/shader.h

@ -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

Loading…
Cancel
Save