Wierd Opengl Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PyGL3Display |
Fix Released
|
Medium
|
David Griffin |
Bug Description
Traceback (most recent call last):
File "D:\Desktop\
main()
File "D:\Desktop\
x = Level(10, (400,400))
File "D:\Desktop\
self.ballImg = LoadImage(
File "..\PyGL3Displa
return cls.Surfaceify(
File "..\PyGL3Displa
Surface.
File "..\PyGL3Displa
manager = SpriteCommon.
File "..\PyGL3Displa
shader=
File "..\PyGL3Displa
cls.
File "..\PyGL3Displa
cls.
File "..\PyGL3Displa
fragmentPro
File "..\PyGL3Displa
super(
File "..\PyGL3Displa
**kwargs)
File "..\PyGL3Displa
self.setup()
File "..\PyGL3Displa
vertexProg in self.vertexProgs]
File "..\PyGL3Displa
raise ShaderError(
ShaderError: Shader Error:
Source:
vec2 applyTransform(in vec2 pos, in vec2 origin, in vec2 offset,
{
vec2 offsets = vec2 ((offset.x - origin.x) * xScale,
mat2 rotMatrix = mat2 (cos(rotation), sin(rotation),
offsets = (rotMatrix * offsets);
vec2 ret = offsets + pos;
return ret;
}
Error:
Vertex shader was successfully compiled to run on hardware.
All the examples fail to run
am I doing something wrong?