You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create a nanogui screen and pass the glfw pointer to initialize
screen = new Screen();
screen->initialize(window, true);
I get error Unhandled exception at 0x00007FFD22983B29 in Janus Engine.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000CD1659F590.
The text was updated successfully, but these errors were encountered:
rede676
changed the title
Unhandled exception at 0x00007FFD22983B29 in Janus Engine.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000CD1659F590.
Unhandled exception at 0x00007FFD22983B29 Microsoft C++ exception: std::runtime_error (Error when loading SCREEN with GLFW)
Oct 5, 2020
after putting:
I get error Unhandled exception at 0x00007FFD22983B29 in Janus Engine.exe: Microsoft C++ exception: std::runtime_error at memory location 0x000000CD1659F590.
Full File
`#include <glad/glad.h>
#include <GLFW/glfw3.h>
#define NOMINMAX
#include
#include "RenderManagement.h"
#include <nanogui/nanogui.h>
#include
using namespace nanogui;
void framebuffer_size_callback(GLFWwindow* window, int width, int height);
void processInput(GLFWwindow* window);
void mouse_callback(GLFWwindow* window, double xpos, double ypos);
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset);
RenderManagement* m_render_management;
Screen* screen = nullptr;
int main()
{
glfwInit();
}
void framebuffer_size_callback(GLFWwindow* window, int width, int height)
{
glViewport(0, 0, width, height);
}
void processInput(GLFWwindow* window)
{
if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS)
{
glfwSetWindowShouldClose(window, true);
}
}
void mouse_callback(GLFWwindow* window, double xpos, double ypos)
{
m_render_management->mouse_callback(window, xpos, ypos);
}
void scroll_callback(GLFWwindow* window, double xoffset, double yoffset)
{
m_render_management->scroll_callback(window, xoffset, yoffset);
}`
The text was updated successfully, but these errors were encountered: