opengl: Fix simple warnings and cosmetics.

This commit is contained in:
Rod Kay
2025-09-20 12:31:05 +10:00
parent b679ac4bf5
commit f8cdf27998
46 changed files with 83 additions and 949 deletions

View File

@@ -9,8 +9,6 @@ with
ada.unchecked_Deallocation;
with ada.Text_IO;
package body openGL.Texture
is
@@ -159,8 +157,7 @@ is
procedure set_Image (Self : in out Object; To : in Image;
use_Mipmaps : in Boolean := True)
is
use GL.Binding,
ada.Text_IO;
use GL.Binding;
the_Image : Image renames To;
min_Width : constant Positive := the_Image'Length (2);