Browse Source
Merge pull request #10372 from MrJul/opengl-warning-fixes
Remove duplicate OpenGL members
pull/10380/head
Max Katz
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
0 additions and
4 deletions
-
src/Avalonia.OpenGL/GlInterface.cs
-
src/Avalonia.OpenGL/IGlContext.cs
|
|
|
@ -73,9 +73,6 @@ namespace Avalonia.OpenGL |
|
|
|
[GetProcAddress("glFinish")] |
|
|
|
public partial void Finish(); |
|
|
|
|
|
|
|
[GetProcAddress("glGetIntegerv")] |
|
|
|
public partial void GetIntegerv(int name, out int rv); |
|
|
|
|
|
|
|
[GetProcAddress("glGenFramebuffers")] |
|
|
|
public partial void GenFramebuffers(int count, int* res); |
|
|
|
|
|
|
|
|
|
|
|
@ -12,7 +12,6 @@ namespace Avalonia.OpenGL |
|
|
|
int SampleCount { get; } |
|
|
|
int StencilSize { get; } |
|
|
|
IDisposable MakeCurrent(); |
|
|
|
IDisposable EnsureCurrent(); |
|
|
|
bool IsSharedWith(IGlContext context); |
|
|
|
bool CanCreateSharedContext { get; } |
|
|
|
IGlContext? CreateSharedContext(IEnumerable<GlVersion>? preferredVersions = null); |
|
|
|
|