Comments (3)
Returning an error
makes the most sense to me. Things like errcheck can be used to see if a program correctly handles error conditions, and a non-succesful glInit seems like an error which a program should report.
The only problem is that changing the return type of gl.Init
will break existing programs. Maybe this is something we can consider for go1.1, though?
from gl.
I concur with @pwaller on this. I would tag this for a Go1.1 branch.
from gl.
Go 1.1 came and went. It seems no-one felt strongly enough to act on the issue so I'm closing it. Reopen or comment as desired.
from gl.
Related Issues (20)
- Unbind VAO missing function ? HOT 5
- The use of slices and arrays as parameters in the Uniformxxx funcs HOT 5
- func ClipPlane(plane GLenum, equation *float64) HOT 6
- Documentation link outdated and GoDoc not working HOT 5
- Possible misuse of unsafe.Pointer HOT 3
- Bad equation argument for gl.ClipPlane HOT 3
- Issue building on Windows 7 with MinGW HOT 3
- fatal error: unexpected signal during runtime execution
- How are extensions handled (on OS X)? HOT 1
- Compiler can't find any functions in attriblocation.go HOT 5
- compilation problem related to go1.3? HOT 1
- Mac OSX Warnings/Errors when running go get HOT 1
- Build issues Arch
- How to cleanup a gl.Texture HOT 4
- OSX go-gl/gl glew.h file not found HOT 1
- reflect.ValueOf(x).IsNil() should be used to check if an interface{} variable is nil HOT 3
- gl.ptr panics if passed a non-nil uintptr HOT 8
- Unbinding a buffer is a method HOT 2
- sdl + gl.Init() crash HOT 1
- ptr panics when type is uintptr HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gl.