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?