enotio / Tempest

Crossplatform 3d engine
MIT License
10 stars 3 forks source link

'texture2D' : function is removed in Forward Compatibile context #13

Open Amrf000 opened 6 years ago

Amrf000 commented 6 years ago

OpenGL render context information: Renderer : Intel(R) HD Graphics 4600 Vendor : Intel Version : 4.1.0 - Build 10.18.10.3496 GLSL version : 4.10 - Build 10.18.10.3496 OpenGL version : 4.1 sh:ERROR: 0:15: 'texture2D' : function is removed in Forward Compatibile context ERROR: 0:15: 'texture2D' : function is removed in Forward Compatibile context ERROR: 0:15: 'assign' : cannot convert from 'const float' to 'FragUserData 4-component vector of float' wglMakeCurrent failed: 0 ASSERT failure: "0"[file ..\Tempest\ogl\opengl2x.cpp, line 948, func: 'Tempest::Opengl2x::startRender'] Program exception endding。 G:\RPG\WC34\WorldCraft\Tempest-master\Examples\bin\Tesselation.exe crashed.

Amrf000 commented 5 years ago

this is due to my portable pc was Dual graphics