Skip to content

Commit

Permalink
DMX: Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Sep 7, 2021
1 parent 9725c40 commit 6a54d10
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions src/osdep/amiberry_gfx.cpp
Expand Up @@ -505,16 +505,6 @@ static int display_thread(void* unused)
return 0;
}

#ifdef USE_DISPMANX
void change_layer_number(int layer)
{
updateHandle = vc_dispmanx_update_start(0);
vc_dispmanx_element_change_layer(updateHandle, blackscreen_element, layer - 1);
vc_dispmanx_element_change_layer(updateHandle, elementHandle, layer);
vc_dispmanx_update_submit_sync(updateHandle);
}
#endif

int graphics_setup(void)
{
#ifdef PICASSO96
Expand Down
1 change: 0 additions & 1 deletion src/osdep/amiberry_gfx.h
Expand Up @@ -122,7 +122,6 @@ extern VC_RECT_T dst_rect;
extern VC_RECT_T blit_rect;
extern VC_RECT_T black_rect;
extern VC_IMAGE_TYPE_T rgb_mode;
extern void change_layer_number(int layer);
#else
extern SDL_Texture* amiga_texture;
extern SDL_Cursor* cursor;
Expand Down

0 comments on commit 6a54d10

Please sign in to comment.