go-gl

    0熱度

    1回答

    頂點着色器: #version 130 in vec2 position; in vec2 texcoord; out vec3 Color; out vec2 Texcoord; void main() { Texcoord = texcoord; gl_Position = vec4(position, 0, 1); } 片段着色器: #version

    1熱度

    1回答

    我已經使用Go的go-gl包了很長一段時間了。一切工作100%,直到我做了一些重構,現在我得到了似有錯誤: fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x0] runtime stack: runti