HaxeFoundation / HaxeFoundation/hashlink

[hlsdl] GL.deleteProgram is missing.

Open
#440 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
901
Forks
201
Avg merge
18h 9m
Merged PRs (30d)
8

Description

In [GL.hx](https://github.com/HaxeFoundation/hashlink/blob/master/libs/sdl/sdl/GL.hx), there is no declaration for `deleteProgram` unlike the other GL object destructors such as `deleteShader`, `deleteTexture` and so on.

By the way, can I ask whether setting GL objects to null are enough to call their corresponding GL destructors? I noticed that the API looks a bit like WebGL so I wonder if garbage collected GL objects are automatically deleted.

Thank you.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.