Write a glade if need be
if(glade_get_surface_image(buffer, new GL_GL_SAMPLE_INDEX))
set_texture_dims(GL_TEXTURE_2D, 4, GL48, GL48_LEFT, GL1, GL4, G_UNITS);
else
set_texture_dims(GL_TEXTURE_2D, 4, GL48, GL48_GREATER, GL1, GL4, G_UNITS);
if (!window_is_dynamic())
d_surface_dirty();
else
d_surface_dirty();
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.