flyx / OpenGLAda

Thick Ada binding for OpenGL and GLFW
flyx.github.io/OpenGLAda/
MIT License
95 stars 13 forks source link

procedure Map question #113

Closed rogermc2 closed 6 years ago

rogermc2 commented 6 years ago
procedure Map (Target : in out Buffer_Target; Access_Type : Access_Kind;
                  Pointer : out Pointers.Pointer);

In the above, is Target : in out Buffer_Target correct, or should it be Target : Buffer_Target? The same would apply to procedure Unmap.

flyx commented 6 years ago

Indeed. Doesn't make sense to have them in out since the targets are constant.

rogermc2 commented 6 years ago

As this is a simple fix, is it OK if I mend it my current open PR? Or leave it for next one?

flyx commented 6 years ago

If the current one is the one still open, you can put it in there.

rogermc2 commented 6 years ago

Have done.