aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index 17f34b5..d5463c6 100644
--- a/main.cpp
+++ b/main.cpp
@@ -382,7 +382,7 @@ int main(int argc, char *argv[]){
* Load a temporary background image.
*/
- bgImage=loadTexture("assets/bg.png");
+ bgImage=Texture::loadTexture("assets/bg.png");
/*
* Load sprites used in the inventory menu. See src/inventory.cpp
@@ -626,7 +626,7 @@ void render(){
**************************/
/*
- * These next two function finish the rendering\
+ * These next two function finish the rendering
*
* glPopMatrix This anchors all of the matrices and blends them to a single
* matrix so the renderer can draw this to the screen, since screens
@@ -660,6 +660,7 @@ void logic(){
* click detection is done as well for NPC/player interaction.
*
*/
+ std::cout << "Game Loop: "<< loops << std::endl;
for(int i=0;i<=entity.size();i++){