Skip to content

Commit

Permalink
Update Virtual_TFT_Port.c
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Feb 10, 2025
1 parent c9d2bfc commit 4a3d126
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/[template][pc][vscode]/platform/Virtual_TFT_Port.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ static uint32_t s_tFramebuffer[3][VT_WIDTH * VT_HEIGHT];

#endif

#if VT_WIDTH >= 240 || VT_HEIGHT >= 240
#if VT_WIDTH >= 1024 || VT_HEIGHT >= 1024
# define VT_WINDOW_WIDTH (VT_WIDTH / 4)
# define VT_WINDOW_HEIGHT (VT_HEIGHT / 4)
#elif VT_WIDTH >= 1024 || VT_HEIGHT >= 1024
#elif VT_WIDTH >= 240 || VT_HEIGHT >= 240
# define VT_WINDOW_WIDTH VT_WIDTH
# define VT_WINDOW_HEIGHT VT_HEIGHT
#else
Expand Down

0 comments on commit 4a3d126

Please sign in to comment.