Closed Bug 776787 Opened 12 years ago Closed 11 years ago

Bail when GL commands are called when uninitialized.

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 797664

People

(Reporter: jgilbert, Unassigned)

Details

It would be nice to have cleaner crashes when uninitialized GL commands are called. (Such as extension-added commands)
I think on all platforms it should be possible to initialize each extension pointer with a no-args static function that would cause a crash/stacktrace; one some platforms any passed args wouldn't get popped on exit when the callee is supposed to do it, but since we're going to crash anyway...
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.