diff options
author | Dan Gudmundsson <[email protected]> | 2013-01-16 16:45:01 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2013-01-16 16:45:01 +0100 |
commit | 086e369ee6a480a9de64bfc9c51430622ef9b2b6 (patch) | |
tree | 073e2fc7466837523411542caf05595ff34c7e28 /lib/wx/c_src/wxe_gl.cpp | |
parent | b1ed656aa179b0d4c8a385d9cde93d326d835302 (diff) | |
download | otp-086e369ee6a480a9de64bfc9c51430622ef9b2b6.tar.gz otp-086e369ee6a480a9de64bfc9c51430622ef9b2b6.tar.bz2 otp-086e369ee6a480a9de64bfc9c51430622ef9b2b6.zip |
wx: Remove deprecated driver_send_term usage
Diffstat (limited to 'lib/wx/c_src/wxe_gl.cpp')
-rw-r--r-- | lib/wx/c_src/wxe_gl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/wx/c_src/wxe_gl.cpp b/lib/wx/c_src/wxe_gl.cpp index e947a1bc6e..34904397d3 100644 --- a/lib/wx/c_src/wxe_gl.cpp +++ b/lib/wx/c_src/wxe_gl.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2008-2010. All Rights Reserved. + * Copyright Ericsson AB 2008-2013. All Rights Reserved. * * The contents of this file are subject to the Erlang Public License, * Version 1.1, (the "License"); you may not use this file except in @@ -141,7 +141,7 @@ void gl_dispatch(int op, char *bp,ErlDrvTermData caller,WXEBinRef *bins[]){ ERL_DRV_INT, op, ERL_DRV_ATOM, driver_mk_atom((char *) "no_gl_context"), ERL_DRV_TUPLE,3}; - driver_send_term(WXE_DRV_PORT,caller,rt,8); + erl_drv_send_term(WXE_DRV_PORT,caller,rt,8); return ; } }; @@ -155,6 +155,6 @@ void gl_dispatch(int op, char *bp,ErlDrvTermData caller,WXEBinRef *bins[]){ else bs[i] = NULL; } - wxe_gl_dispatch(op, bp, WXE_DRV_PORT, caller, bs, bs_sz); + wxe_gl_dispatch(op, bp, WXE_DRV_PORT_HANDLE, caller, bs, bs_sz); } |