diff options
author | Dan Gudmundsson <dgud@erlang.org> | 2023-03-07 16:21:08 +0100 |
---|---|---|
committer | Dan Gudmundsson <dgud@erlang.org> | 2023-04-02 08:54:36 +0200 |
commit | b5c48b2aa1e2d208556a6feb728ae2ec7189cab6 (patch) | |
tree | 176b652d18500b9daa2a462c0e51149c30b6656b /lib/wx/src/gen/gl.erl | |
parent | e1a5238f4ca16a03f428bd0566d4e767a9a16326 (diff) | |
download | erlang-b5c48b2aa1e2d208556a6feb728ae2ec7189cab6.tar.gz |
wx: Add debug printouts for OpenGL
Diffstat (limited to 'lib/wx/src/gen/gl.erl')
-rw-r--r-- | lib/wx/src/gen/gl.erl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/wx/src/gen/gl.erl b/lib/wx/src/gen/gl.erl index d1c6e76937..e5ac08290c 100644 --- a/lib/wx/src/gen/gl.erl +++ b/lib/wx/src/gen/gl.erl @@ -1,7 +1,7 @@ %% %% %CopyrightBegin% %% -%% Copyright Ericsson AB 2008-2022. All Rights Reserved. +%% Copyright Ericsson AB 2008-2023. All Rights Reserved. %% %% Licensed under the Apache License, Version 2.0 (the "License"); %% you may not use this file except in compliance with the License. @@ -299,8 +299,8 @@ bindAttribLocationARB/3,getActiveAttribARB/3,getAttribLocationARB/2, blendBarrierKHR/0,maxShaderCompilerThreadsKHR/1,depthBoundsEXT/2]). --export([get_interface/0, rec/1, lookup_func/0]). --nifs([lookup_func/0]). +-export([get_interface/0, rec/1, lookup_func/1]). +-nifs([lookup_func_nif/1]). -define(nif_stub,nif_stub_error(?LINE)). %% @hidden nif_stub_error(Line) -> @@ -332,7 +332,10 @@ rec(Op) -> rec(Op) end. -lookup_func() -> ?nif_stub. +lookup_func(functions) -> lookup_func_nif(1); +lookup_func(function_names) -> lookup_func_nif(2). + +lookup_func_nif(_Func) -> ?nif_stub. |