aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-11-02 20:48:31 -0500
committerClyne Sullivan <tullivan99@gmail.com>2015-11-02 20:48:31 -0500
commitf8ebf8fd3d5691cd45566281a1f54c5ecbc43762 (patch)
tree35633b779419c0df9cdb2408838189d529357abf /main.cpp
parent07d73ea992641198a887f000bf44b874c8e11574 (diff)
updated goals
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/main.cpp b/main.cpp
index e0d195f..56aed17 100644
--- a/main.cpp
+++ b/main.cpp
@@ -732,17 +732,9 @@ void render(){
player->near=true; // Draw the player's name
- #ifdef SHADERS
- glUseProgramObjectARB(shaderProgram);
- glUniform2f(glGetUniformLocation(shaderProgram, "lightLocation"), 0,100);
- glUniform3f(glGetUniformLocation(shaderProgram, "lightColor"), 255,255,255);
- //glBlendFunc(GL_ONE, GL_ONE);
- #endif //SHADERS
-
currentWorld->draw(player);
#ifdef SHADERS
-<<<<<<< Updated upstream
glUseProgramObjectARB(shaderProgram);
glUniform2f(glGetUniformLocation(shaderProgram, "lightLocation"), 640,100);
glUniform3f(glGetUniformLocation(shaderProgram, "lightColor"), 1,1,1);
@@ -755,8 +747,6 @@ void render(){
glRectf(offset.x-SCREEN_WIDTH/2,0,offset.x+SCREEN_WIDTH/2,SCREEN_HEIGHT);
#ifdef SHADERS
-=======
->>>>>>> Stashed changes
glUseProgramObjectARB(0);
#endif //SHADERS
@@ -764,7 +754,7 @@ void render(){
/*
- * Draw UI elements. As of 10/20/2015 this includes the player's health bar and the dialog box.
+ * Draw UI elements. This includes the player's health bar and the dialog box.
*/
ui::draw();