summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
020ba67)
Doesn't matter in practice, but will cause cleaner crashes if people
forget to do set_pixel_data().
Found by Coverity Scan.
needs_mipmaps(false),
width(width),
height(height),
needs_mipmaps(false),
width(width),
height(height),
+ pitch(width),
+ pixel_data(NULL)
{
assert(type == GL_FLOAT || type == GL_UNSIGNED_BYTE);
register_int("output_linear_gamma", &output_linear_gamma);
{
assert(type == GL_FLOAT || type == GL_UNSIGNED_BYTE);
register_int("output_linear_gamma", &output_linear_gamma);