Dreikblack Posted November 21, 2025 Posted November 21, 2025 At EVENT_STARTRENDERER data = 0, event text is empty (or have " ", not sure), white window. SelectDevice cpp included to project. It happens not on my PC, so can't debug. Same with simple code. What can be done to fix it? #include "Leadwerks.h" using namespace Leadwerks; int main(int argc, const char* argv[]) { //Get the displays auto displays = GetDisplays(); //Create a window auto window = CreateWindow("Leadwerks", 0, 0, 1280, 720, displays[0], WINDOW_CENTER | WINDOW_TITLEBAR); //Create a world auto world = CreateWorld(); //Create a framebuffer auto framebuffer = CreateFramebuffer(window); //Create a camera auto camera = CreateCamera(world); camera->SetClearColor(0.125); camera->SetPosition(0, 0, -4); //Create a light auto light = CreateBoxLight(world); light->SetRotation(45, 35, 0); light->SetRange(-10, 10); light->SetColor(2); //Create a model auto model = CreateBox(world); model->SetColor(0, 0, 1); //Main loop while (window->Closed() == false and window->KeyDown(KEY_ESCAPE) == false) { while (PeekEvent()) { const Event ev = WaitEvent(); if (ev.id == EVENT_STARTRENDERER) { if (ev.data != 0) { Notify(ev.text.empty() ? "Empty" : ev.text); } break; } } model->Turn(0, 1, 0); world->Update(); world->Render(framebuffer); } return 0; } Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted November 21, 2025 Posted November 21, 2025 We had a lot of problems with some not-too-old AMD drivers earlier this year. Updating the drivers should be the first step. Quote Let's build cool stuff and have fun.
Dreikblack Posted November 21, 2025 Author Posted November 21, 2025 It's latest drivers Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Josh Posted November 21, 2025 Posted November 21, 2025 Installing this driver now... Quote Let's build cool stuff and have fun.
Josh Posted November 21, 2025 Posted November 21, 2025 Well, the good news is they didn't put out an engine-breaking driver. I have 25.11.1 installed now and the editor runs fine. I am testing on a 6600, so it's not exactly the same card, but it is likely to act the same. The only thing I can do now is get a 9xxx series card and make sure it is working, although I would be surprised if it had a problem. Do you know if this user has win 10 or 11? Quote Let's build cool stuff and have fun.
Dreikblack Posted November 21, 2025 Author Posted November 21, 2025 1 minute ago, Josh said: Do you know if this user has win 10 or 11? Asking it now and will post answer once will get it. Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Dreikblack Posted November 21, 2025 Author Posted November 21, 2025 1 hour ago, Josh said: Do you know if this user has win 10 or 11? 11 1 Quote Check out Slipgate Tactics - turn based tactics Quake fan game, which is made with Ultra Engine/Leadwerks 5: https://www.leadwerks.com/community/topic/61480-slipgate-tactics-demo/
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.