Bug 32958 - binding error... GL.DeleteProgram();
Summary: binding error... GL.DeleteProgram();
Status: CONFIRMED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Library (Xamarin.Mac.dll) (show other bugs)
Version: 2.0.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2015-08-11 09:56 UTC by renan jegouzo
Modified: 2016-09-26 21:59 UTC (History)
2 users (show)

See Also:
Tags:
Is this bug a regression?: ---
Last known good build:


Attachments

Description renan jegouzo 2015-08-11 09:56:51 UTC
ERROR] FATAL UNHANDLED EXCEPTION: System.EntryPointNotFoundException: glDeleteProgramsNV
  at (wrapper managed-to-native) OpenTK.Graphics.OpenGL.GL/Core:DeleteProgramsNV (int,uint*)
  at OpenTK.Graphics.OpenGL.GL.DeleteProgram (Int32 n, System.Int32& programs) [0x00007] in /Users/builder/data/lanes/1977/6db87c53/source/maccore/src/OpenGL/OpenTK/Graphics/OpenGL/GL.cs:96856
Comment 1 renan jegouzo 2015-08-11 09:58:22 UTC
xamarin.mac mobile framework
Comment 2 Chris Hamons 2015-09-29 15:18:09 UTC
Could you please post an example showing the issue in question. Does this happen every time you use the API? Can you successfully use the rest of the API?

We need more in bug reports that just the error message.
Comment 3 renan jegouzo 2015-12-15 08:12:06 UTC
I've tried to uncomment my code to delete programs, the problem is still here
raise this exception each time you call OpenTK.Graphics.OpenGL.GL.DeleteProgram


Xamarin Studio
Version 5.10.1 (build 6)
Installation UUID: 2a46676f-5eb8-4569-9aa7-630cd15bdfc2
Runtime:
	Mono 4.2.1 (explicit/6dd2d0d)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 402010102

Xamarin.Profiler
Not Installed

Apple Developer Tools
Xcode 7.2 (9548)
Build 7C68

Xamarin.iOS
Version: 9.4.0.0 (Business Edition)
Hash: 7322991
Branch: master
Build date: 2015-12-08 16:20:29-0500

Xamarin.Android
Version: 6.0.0.34 (Business Edition)
Android SDK: /Volumes/ssd/android-sdk-macosx
	Supported Android versions:
		4.2 (API level 17)
		5.1 (API level 22)
		6.0 (API level 23)

SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 23.0.2

Java SDK: /usr
java version "1.8.0_25"
Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Xamarin Android Player
Not Installed

Xamarin.Mac
Version: 2.4.0.109 (Business Edition)

Build Information
Release ID: 510010006
Git revision: 0b60eecdb531933734519c13257d16a780274aab
Build date: 2015-12-04 20:28:20-05
Xamarin addins: 9876fd7c9837977178411ec7375b4352c0a0d6af
Build lane: monodevelop-lion-cycle6-baseline

Operating System
Mac OS X 10.11.2
Darwin macbook.home 15.2.0 Darwin Kernel Version 15.2.0
    Fri Nov 13 19:56:56 PST 2015
    root:xnu-3248.20.55~2/RELEASE_X86_64 x86_64
Comment 4 renan jegouzo 2015-12-15 08:15:11 UTC
it easy to test you just need to call

int a=0;
OpenTK.Graphics.OpenGL.GL.DeleteProgram(1,ref a);
Comment 5 Chris Hamons 2015-12-15 15:26:14 UTC
^

Note You need to log in before you can comment on or make changes to this bug.