Jump to content

Recommended Posts

Posted

Good Morning,

 

I have been focusing hard on LEADWERKS this week, handling my "dues", (Reading and re-reading tuts to learn scripting and such)

 

Friday night though, I decided top update my graphics drivers for my Toshiba Satellite S-55 laptop. I left, let it update and went snowboarding for the day. When i came home, and tried to hit play on a file i was running, the Leadwerks engine "Window" (The one called in the script) begins to open then I recieve an "error Message" window that states;

 

"OpenGL error GL_Invalid_Enum"

 

And it seems to stop on this line of code here

 

--Render statistics

context:SetBlendMode(Blend.Alpha)

if DEBUG then

context:SetColor(1,0,0,1)

context:DrawText("Debug Mode",2,2) <-------------- THIS IS THE LINE IT IS HAVING ISSUES WITH

context:SetColor(1,1,1,1)

context:DrawStats(2,22)

context:SetBlendMode(Blend.Solid)

else

 

I am stumped. Any ideas?

Posted

Ok, I read the thread in its entirety. Roll-back drivers, hope that AMD gets their act together. But Joshs latest update in that thread was Feb 2015 when he said that they were going to fix this in the latest driver update. I guess they did not. I need to get a job at AMD, they sound like they pay and you don't have to do much. A full year. Wow.

 

I will see what i can do.

Posted

First thing to do is update drivers to the very latest.

 

If the problem persists please post an example I can run and I will test it.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Ok, Did an update to the drivers, no joy.

 

Still an OPEN_GL_Enum Issue.

 

Would you like me to zip a file and post it? Or is it better to post a screen capture?

 

Thanks again

Posted

I'm happy to take a look at any demo you have for me to test. It sounds like the problem might be specific to this one laptop driver though.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

When you say demo, do you mean a file? I can defiantely give you a file, but even the Main.Lua with nothing in the scene causing the error. I'm not giving up on it yet, I am still fiddling with it.

Posted

Okay, the only thing would probably be for me to run the same laptop with this exact same driver. Sometimes the laptop manufacturer will have their own custom drivers that are way behind the video card manufacturer's driver. If you haven't already, I would try a driver directly from AMD rather than going through Toshiba.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...