diff --git a/bindings/c/include/SFML/Graphics/Image.h b/bindings/c/include/SFML/Graphics/Image.h index 350abcc6..f69031dc 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 ce8c453e..9f088982 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 dbd2366a..52123c25 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 ac40c947..58f3cb44 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 bc76e5ee..3f51d0b4 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 9b74e98c..03c01237 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 53bc7d4b..eabdf7ed 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