Python Forum
Why glGenVertexArray()gives access violation error?
Thread Rating:
  • 2 Vote(s) - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why glGenVertexArray()gives access violation error?
#4
I haven't touched this or openGL in ages so you are out of luck on details, but I successfully used this function here:
https://github.com/Mekire/gltut-pygame/b...anually.py
Quote:are there difference between 'vao=glGenVertexArray(1)' and glGenVertexArray(1,vao)
The second one looks like it is from the C version as you presumably pass it a struct pointer to populate.  The first version is the one you should be using.
Reply


Messages In This Thread
RE: Why glGenVertexArray()gives access violation error? - by Mekire - May-02-2017, 09:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  access is denied error 5 for network drive mapping ? ahmedbarbary 2 1,962 Aug-17-2022, 10:09 PM
Last Post: ahmedbarbary
  Server Folder Error : WinError5 Access Denied fioranosnake 1 1,234 Jun-21-2022, 11:11 PM
Last Post: Larz60+
  Erreur Code access violation reading 0x00000004 yan_mhb 0 2,466 Jul-10-2020, 02:28 PM
Last Post: yan_mhb
  Windows fatal exception: access violation czhhua28 0 6,107 Mar-11-2020, 01:53 AM
Last Post: czhhua28
  Error in running MS Access Database connection code pyuser1 4 7,943 Feb-01-2018, 08:28 PM
Last Post: pyuser1
  Why do I get this error when I try to access MSAccess database from python? pavansunder 2 7,367 Aug-10-2017, 08:48 AM
Last Post: radioactive9
  PEMDAS Violation Amitoj25 2 3,395 Feb-22-2017, 10:35 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020