func_graphics_gladjusttexsize.rst 438 B

12345678910111213141516171819202122232425262728293031323334
  1. .. _func_graphics_gladjusttexsize:
  2. ===============
  3. GLAdjustTexSize
  4. ===============
  5. GLAdjustTexSize -
  6. Description
  7. ===========
  8. .. code-block:: blitzmax
  9. GLAdjustTexSize( width Var,height Var )
  10. Helper function to calculate nearest valid texture size
  11. This functions rounds @width and @height up to the nearest valid texture size
  12. Parameters
  13. ==========
  14. Return Values
  15. =============
  16. Nothing.
  17. Examples
  18. ========
  19. See Also
  20. ========