Skip to content
Snippets Groups Projects
Commit 390fc25e authored by Florent Berthaut's avatar Florent Berthaut
Browse files

Fixed loading file with new name

parent e0168359
Branches
No related tags found
No related merge requests found
...@@ -252,7 +252,7 @@ void Reveal::open(const std::string& fileName) { ...@@ -252,7 +252,7 @@ void Reveal::open(const std::string& fileName) {
DEBUG("Could not open file "<<fileName); DEBUG("Could not open file "<<fileName);
open=false; open=false;
} }
else if(xmlStrcmp(rootNode->name, (const xmlChar*)"Revil")) { else if(xmlStrcmp(rootNode->name, (const xmlChar*)"Rivill")) {
xmlFreeDoc(doc); xmlFreeDoc(doc);
DEBUG("Could not open file "<<fileName); DEBUG("Could not open file "<<fileName);
open=false; open=false;
......
...@@ -58,7 +58,7 @@ PreviewModule::PreviewModule():Module() { ...@@ -58,7 +58,7 @@ PreviewModule::PreviewModule():Module() {
updateViewProjMatrix(); updateViewProjMatrix();
//create preview window //create preview window
m_previewWindow = glfwCreateWindow(600, 480, "Revil - Preview", NULL, NULL); m_previewWindow = glfwCreateWindow(600, 480, "Rivill - Preview", NULL, NULL);
if (!m_previewWindow) { if (!m_previewWindow) {
glfwTerminate(); glfwTerminate();
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
......
...@@ -1908,6 +1908,7 @@ void ProjectorModule::processOutput() { ...@@ -1908,6 +1908,7 @@ void ProjectorModule::processOutput() {
if(outputProcessed) { if(outputProcessed) {
//reset output image to 0 //reset output image to 0
glBindTexture(GL_TEXTURE_2D, m_outputTex); glBindTexture(GL_TEXTURE_2D, m_outputTex);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment