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

Function pixel_format_for_code

platform/mac/pixelformat.cpp:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233
234
235static inline pixel_format pixel_format_for_code(U64 code) {
236 pixel_format_or_code pfc;
237
238 pfc.code = code;
239 return pfc.format;
240}
241
242static unsigned int best_color_mode(GLint modes, GLint color_size, GLint alpha_size, GLint color_float) {
243 int best = -1;

Callers 2

pixel_format_comparatorFunction · 0.85
init_pixel_formatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected