Add initial prototype.
This commit is contained in:
30
3-mid/opengl/source/platform/osmesa/opengl-display.ads
Normal file
30
3-mid/opengl/source/platform/osmesa/opengl-display.ads
Normal file
@@ -0,0 +1,30 @@
|
||||
with
|
||||
Interfaces.C;
|
||||
|
||||
|
||||
package openGL.Display
|
||||
--
|
||||
-- Models an openGL display.
|
||||
--
|
||||
is
|
||||
|
||||
type Item is tagged private;
|
||||
|
||||
|
||||
function Default return Item;
|
||||
function screen_Id (Self : in Item) return interfaces.C.int;
|
||||
|
||||
|
||||
|
||||
private
|
||||
|
||||
use Interfaces;
|
||||
|
||||
type Item is tagged
|
||||
record
|
||||
screen_Id : aliased interfaces.C.int;
|
||||
end record;
|
||||
|
||||
end openGL.Display;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user