Skip to content

Commit

Permalink
make it compilabe
Browse files Browse the repository at this point in the history
  • Loading branch information
plattenschieber committed May 12, 2015
1 parent 8681763 commit 4873eed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion hscgv_uebung_1/gl.pro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ OTHER_FILES += \
freestyle.vsh \
freestyle.fsh

unix:LIBS *= -lGLEW
unix:LIBS *= -lGLEW -lglut

macx {
LIBS *= -lGLEW -L/usr/local/opt/glew/lib
Expand Down
7 changes: 0 additions & 7 deletions hscgv_uebung_1/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@
// ----- the program starts here -----
int main(int argc,char **argv)
{
// make fscanf work (use decimal point ".")
if(putenv((char *)"LC_NUMERIC=C") == -1)
{
perror("failed to set LC_NUMERIC to C");
return 1;
}

// use true color visual on SGIs
QApplication::setColorSpec(QApplication::ManyColor);

Expand Down

0 comments on commit 4873eed

Please sign in to comment.