From 24728e4ce017c4c11069625295ad77484fdadf9c Mon Sep 17 00:00:00 2001 From: mmporong Date: Thu, 29 Oct 2026 11:01:25 +0900 Subject: [PATCH] Remove the target entry from texture docstrings Texture2D, TextureArray and their OpenGL backends no longer accept a target argument, but their docstrings still listed it as "Ignored. Legacy". Passing target= raises TypeError. --- arcade/gl/backends/opengl/texture.py | 2 -- arcade/gl/backends/opengl/texture_array.py | 2 -- arcade/gl/texture.py | 2 -- arcade/gl/texture_array.py | 2 -- 4 files changed, 8 deletions(-) diff --git a/arcade/gl/backends/opengl/texture.py b/arcade/gl/backends/opengl/texture.py index a5cc626e2..c76ca20f4 100644 --- a/arcade/gl/backends/opengl/texture.py +++ b/arcade/gl/backends/opengl/texture.py @@ -86,8 +86,6 @@ class OpenGLTexture2D(Texture2D): Wrap mode x wrap_y: Wrap mode y - target: - The texture type (Ignored. Legacy) depth: creates a depth texture if `True` samples: diff --git a/arcade/gl/backends/opengl/texture_array.py b/arcade/gl/backends/opengl/texture_array.py index 8af34c203..dc2f611c3 100644 --- a/arcade/gl/backends/opengl/texture_array.py +++ b/arcade/gl/backends/opengl/texture_array.py @@ -87,8 +87,6 @@ class OpenGLTextureArray(TextureArray): Wrap mode x wrap_y: Wrap mode y - target: - The texture type (Ignored. Legacy) depth: creates a depth texture if `True` samples: diff --git a/arcade/gl/texture.py b/arcade/gl/texture.py index dd4eeb5a4..acc91f368 100644 --- a/arcade/gl/texture.py +++ b/arcade/gl/texture.py @@ -57,8 +57,6 @@ class Texture2D(ABC): Wrap mode x wrap_y: Wrap mode y - target: - The texture type (Ignored. Legacy) depth: creates a depth texture if `True` samples: diff --git a/arcade/gl/texture_array.py b/arcade/gl/texture_array.py index e3aff1ea7..50a3dc2d0 100644 --- a/arcade/gl/texture_array.py +++ b/arcade/gl/texture_array.py @@ -54,8 +54,6 @@ class TextureArray(ABC): Wrap mode x wrap_y: Wrap mode y - target: - The texture type (Ignored. Legacy) depth: creates a depth texture if `True` samples: