Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Potential stack overflow? #17

Open
UnknownShadow200 opened this issue Jun 9, 2017 · 0 comments
Open

Potential stack overflow? #17

UnknownShadow200 opened this issue Jun 9, 2017 · 0 comments

Comments

@UnknownShadow200
Copy link

From discussion at opentk/opentk#535 I noticed this:

        public static void DrawElements(BeginMode mode, int count, DrawElementsType type, int offset)
        {
            DrawElements(mode, count, type, offset);
        }

which would seem to cause a stack overflow

The other two classes with this DrawElements overload (here and here) both used new IntPtr(offset) instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant