opengl.geometry.texturing: Use 'Mixin' generic.
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
with
|
||||
openGL.Program.lit.textured_skinned;
|
||||
openGL.Program.lit.textured_skinned,
|
||||
openGL.texture_Set;
|
||||
|
||||
private
|
||||
with
|
||||
openGL.Geometry.texturing;
|
||||
|
||||
|
||||
package openGL.Geometry.lit_textured_skinned
|
||||
@@ -49,9 +54,18 @@ is
|
||||
|
||||
private
|
||||
|
||||
type Item is new Geometry.item with null record;
|
||||
package textured_Geometry is new texturing.Mixin;
|
||||
|
||||
overriding
|
||||
procedure enable_Textures (Self : in out Item);
|
||||
|
||||
type Item is new textured_Geometry.item with
|
||||
record
|
||||
null;
|
||||
end record;
|
||||
|
||||
|
||||
-- type Item is new Geometry.item with null record;
|
||||
--
|
||||
-- overriding
|
||||
-- procedure enable_Textures (Self : in out Item);
|
||||
|
||||
end openGL.Geometry.lit_textured_skinned;
|
||||
|
||||
Reference in New Issue
Block a user