SCIInstitute / Cleaver

A MultiMaterial Tetrahedral Meshing Library and Application
https://cleaver.readthedocs.io
Other
40 stars 18 forks source link

Shader requirements don't allow graphics to display on mac #34

Closed zaracay closed 8 years ago

zaracay commented 8 years ago

Error:

QOpenGLShader::compile(Vertex): ERROR: 0:1: '' : version '330' is not supported ERROR: 0:3: 'layout' : syntax error: syntax error

* Problematic Vertex shader source code *

version 330

define lowp

define mediump

define highp

line 2

layout (location = 0) in vec3 aPos; layout (location = 1) in vec3 aColor; uniform mat4 uRotation; uniform float uAspect; uniform float uWidth; out vec4 oColor;

System: OS X 10.10.5 NVIDIA GeForce GT 755M 1024 MB

(about a 3 year old iMac)

brigb123 commented 8 years ago

done here 6e730a84f5df09aa4f83d52c8656ab69bdd751ff