Jump to content

gDisp Drivers: Incorrect check of defined size


Guest Deon

Recommended Posts

Many drivers incorrectly check if the display size was previously defined.

They check if the screen height is defined twice instead of checking for width and height

Original: #if defined(GDISP_SCREEN_HEIGHT) || defined(GDISP_SCREEN_HEIGHT)

Required:  #if defined(GDISP_SCREEN_WIDTH) || defined(GDISP_SCREEN_HEIGHT)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...