Skip to content

Commit

Permalink
Merge pull request #865 from sh-dave/prevent-wswitch-warning
Browse files Browse the repository at this point in the history
prevent warning when -Wswitch is enabled
  • Loading branch information
RobDangerous authored Feb 20, 2024
2 parents 9fbda44 + bc48860 commit ecb768f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,8 @@ void kinc_g5_internal_init() {
case VK_PHYSICAL_DEVICE_TYPE_CPU:
// CPU gets a score of zero
break;
case VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM:
break;
}
// TODO: look into using more metrics than just the device type for scoring, eg: available memory, max texture sizes, etc.
// If this is the first usable device, skip testing against the previous best.
Expand Down

0 comments on commit ecb768f

Please sign in to comment.