Skip to content

Commit

Permalink
changed a function name from get_all_display_info to enumerate_displa…
Browse files Browse the repository at this point in the history
…y_info
  • Loading branch information
opiopan committed Jun 16, 2024
1 parent 31e0e56 commit 784fb3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1026,8 +1026,8 @@ void ViewPortManager::init_scripting_env(sol::table& mapper_table){
//
// functions to retrieve screen information
//
mapper_table["get_all_display_info"] = [this](sol::this_state lua){
return lua_c_interface(engine, "get_all_display_info", [this, lua](){
mapper_table["enumerate_display_info"] = [this](sol::this_state lua){
return lua_c_interface(engine, "enumerate_display_info", [this, lua](){
sol::state_view lua_state{lua};
sol::table displays = lua_state.create_table();
struct CONTEXT {
Expand Down

0 comments on commit 784fb3a

Please sign in to comment.