Skip to content

Commit

Permalink
fix - return bool within main()
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Gerdelan authored and Anton Gerdelan committed Aug 20, 2024
1 parent a78927a commit ed0aa6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 05_virtual_camera/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int main() {
if ( GL_TRUE != params ) {
fprintf( stderr, "ERROR: could not link shader programme GL index %i\n", shader_programme );
print_programme_info_log( shader_programme );
return false;
return 1;
}

/*--------------------------create camera matrices----------------------------*/
Expand Down
2 changes: 1 addition & 1 deletion 41_shader_hot_reload/Makefile.osx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIN = hotreload
CC = clang
FLAGS = -DAPPLE -Wall -pedantic -mmacosx-version-min=10.5 -arch x86_64 -fmessage-length=0 -UGLFW_CDECL -fprofile-arcs -ftest-coverage
FLAGS = -DAPPLE -Wall -pedantic
INC = -I/sw/include -I/usr/local/include
LIBS = -lGLEW -lglfw
FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit
Expand Down

0 comments on commit ed0aa6b

Please sign in to comment.