aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/src/gen/gl.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-10-11 11:00:38 +0200
committerDan Gudmundsson <[email protected]>2010-11-15 10:13:07 +0100
commit8577598667bff43f503f3cae87934c3e9918d135 (patch)
tree7769951ae687f9c266ee938f0df221e291699529 /lib/wx/src/gen/gl.erl
parentac433c8318566261a74ffe7fd0824fb99610bed3 (diff)
downloadotp-8577598667bff43f503f3cae87934c3e9918d135.tar.gz
otp-8577598667bff43f503f3cae87934c3e9918d135.tar.bz2
otp-8577598667bff43f503f3cae87934c3e9918d135.zip
Windows and Mac build issues
Diffstat (limited to 'lib/wx/src/gen/gl.erl')
-rw-r--r--lib/wx/src/gen/gl.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wx/src/gen/gl.erl b/lib/wx/src/gen/gl.erl
index 56cb2f1e23..bf56067da1 100644
--- a/lib/wx/src/gen/gl.erl
+++ b/lib/wx/src/gen/gl.erl
@@ -235,8 +235,8 @@ cast(Op, Args) ->
rec() ->
receive
{'_egl_result_', Res} -> Res;
- {'_egl_error_', Res} -> error({error,Res})
- end.
+ {'_egl_error_', Op, Res} -> error({error,Res,Op})
+ end.
%% @hidden
send_bin(Bin) when is_binary(Bin) ->