diff --git a/bindings/c/include/SFML/Graphics/Image.h b/bindings/c/include/SFML/Graphics/Image.h index 350abcc6d..f69031dcc 100644 --- a/bindings/c/include/SFML/Graphics/Image.h +++ b/bindings/c/include/SFML/Graphics/Image.h @@ -34,14 +34,6 @@ #include -//////////////////////////////////////////////////////////// -/// Create a new empty image -/// -/// \return A new sfImage object, or NULL if it failed -/// -//////////////////////////////////////////////////////////// -CSFML_API sfImage* sfImage_Create(void); - //////////////////////////////////////////////////////////// /// Create a new image filled with a color /// diff --git a/bindings/c/src/SFML/Graphics/Image.cpp b/bindings/c/src/SFML/Graphics/Image.cpp index ce8c453e3..9f0889828 100644 --- a/bindings/c/src/SFML/Graphics/Image.cpp +++ b/bindings/c/src/SFML/Graphics/Image.cpp @@ -31,15 +31,6 @@ #include -//////////////////////////////////////////////////////////// -/// Create a new empty image -//////////////////////////////////////////////////////////// -sfImage* sfImage_Create(void) -{ - return new sfImage; -} - - //////////////////////////////////////////////////////////// /// Create a new image filled with a color //////////////////////////////////////////////////////////// diff --git a/bindings/dotnet/extlibs/csfml-audio-2.dll b/bindings/dotnet/extlibs/csfml-audio-2.dll index dbd2366a9..52123c25c 100644 Binary files a/bindings/dotnet/extlibs/csfml-audio-2.dll and b/bindings/dotnet/extlibs/csfml-audio-2.dll differ diff --git a/bindings/dotnet/extlibs/csfml-graphics-2.dll b/bindings/dotnet/extlibs/csfml-graphics-2.dll index ac40c947d..58f3cb442 100644 Binary files a/bindings/dotnet/extlibs/csfml-graphics-2.dll and b/bindings/dotnet/extlibs/csfml-graphics-2.dll differ diff --git a/bindings/dotnet/extlibs/csfml-window-2.dll b/bindings/dotnet/extlibs/csfml-window-2.dll index bc76e5ee0..3f51d0b49 100644 Binary files a/bindings/dotnet/extlibs/csfml-window-2.dll and b/bindings/dotnet/extlibs/csfml-window-2.dll differ diff --git a/bindings/dotnet/src/Graphics/Image.cs b/bindings/dotnet/src/Graphics/Image.cs index 9b74e98c3..03c01237c 100644 --- a/bindings/dotnet/src/Graphics/Image.cs +++ b/bindings/dotnet/src/Graphics/Image.cs @@ -16,19 +16,6 @@ namespace SFML //////////////////////////////////////////////////////////// public class Image : ObjectBase { - //////////////////////////////////////////////////////////// - /// - /// Default constructor (invalid image) - /// - /// - //////////////////////////////////////////////////////////// - public Image() : - base(sfImage_Create()) - { - if (This == IntPtr.Zero) - throw new LoadingFailedException("image"); - } - //////////////////////////////////////////////////////////// /// /// Construct the image with black color diff --git a/bindings/dotnet/src/Graphics/Shader.cs b/bindings/dotnet/src/Graphics/Shader.cs index 53bc7d4b4..eabdf7ed9 100644 --- a/bindings/dotnet/src/Graphics/Shader.cs +++ b/bindings/dotnet/src/Graphics/Shader.cs @@ -14,19 +14,6 @@ namespace SFML //////////////////////////////////////////////////////////// public class Shader : ObjectBase { - //////////////////////////////////////////////////////////// - /// - /// Default constructor (invalid shader) - /// - /// - //////////////////////////////////////////////////////////// - public Shader() : - base(sfShader_Create()) - { - if (This == IntPtr.Zero) - throw new LoadingFailedException("shader"); - } - //////////////////////////////////////////////////////////// /// /// Load the shader from a file