MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / is_valid_pixel_format

Function is_valid_pixel_format

platform/mac/pixelformat.cpp:857–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

855
856
857static inline bool is_valid_pixel_format(int format) {
858 return format > 0 && format <= nb_formats;
859}
860
861
862static inline bool is_displayable_pixel_format(int format) {

Callers 1

get_pixel_formatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected