aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen.hrl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-11-15 15:24:58 +0100
committerDan Gudmundsson <[email protected]>2010-11-15 15:24:58 +0100
commit8ecbdaf5eb54052d7b4756037e6dc481a36358ed (patch)
tree3db1d8e9cf250003fa240ba33072d509edeab382 /lib/wx/api_gen/wx_gen.hrl
parent2e605129613ba88427de27520a19456903d40cca (diff)
downloadotp-8ecbdaf5eb54052d7b4756037e6dc481a36358ed.tar.gz
otp-8ecbdaf5eb54052d7b4756037e6dc481a36358ed.tar.bz2
otp-8ecbdaf5eb54052d7b4756037e6dc481a36358ed.zip
Initilize opengl after setCurrent
No rendering context is available until setCurrent is called the first time, opengl extensions can not be loaded before the rendering context is created.
Diffstat (limited to 'lib/wx/api_gen/wx_gen.hrl')
-rw-r--r--lib/wx/api_gen/wx_gen.hrl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wx/api_gen/wx_gen.hrl b/lib/wx/api_gen/wx_gen.hrl
index 17265a2842..426e3adfae 100644
--- a/lib/wx/api_gen/wx_gen.hrl
+++ b/lib/wx/api_gen/wx_gen.hrl
@@ -43,9 +43,9 @@
id = undefined, % Id (integer)
doc, % Extra documentation
virtual, % Is virtual?
- pre_hook, % Pre hook before call in c-code
- post_hook % Post hook after call in c-code
- }
+ pre_hook = [], % Pre hook before call in c-code
+ post_hook = [] % Post hook after call in c-code
+ }
).
-record(param,