@@ -2558,17 +2558,6 @@ class WebGLRenderer {
25582558
25592559 this . copyFramebufferToTexture = function ( texture , position = null , level = 0 ) {
25602560
2561- // support previous signature with position first
2562- if ( texture . isTexture !== true ) {
2563-
2564- // @deprecated , r165
2565- warnOnce ( 'WebGLRenderer: copyFramebufferToTexture function signature has changed.' ) ;
2566-
2567- position = arguments [ 0 ] || null ;
2568- texture = arguments [ 1 ] ;
2569-
2570- }
2571-
25722561 const levelScale = Math . pow ( 2 , - level ) ;
25732562 const width = Math . floor ( texture . image . width * levelScale ) ;
25742563 const height = Math . floor ( texture . image . height * levelScale ) ;
@@ -2588,20 +2577,6 @@ class WebGLRenderer {
25882577 const _dstFramebuffer = _gl . createFramebuffer ( ) ;
25892578 this . copyTextureToTexture = function ( srcTexture , dstTexture , srcRegion = null , dstPosition = null , srcLevel = 0 , dstLevel = null ) {
25902579
2591- // support previous signature with dstPosition first
2592- if ( srcTexture . isTexture !== true ) {
2593-
2594- // @deprecated , r165
2595- warnOnce ( 'WebGLRenderer: copyTextureToTexture function signature has changed.' ) ;
2596-
2597- dstPosition = arguments [ 0 ] || null ;
2598- srcTexture = arguments [ 1 ] ;
2599- dstTexture = arguments [ 2 ] ;
2600- dstLevel = arguments [ 3 ] || 0 ;
2601- srcRegion = null ;
2602-
2603- }
2604-
26052580 // support the previous signature with just a single dst mipmap level
26062581 if ( dstLevel === null ) {
26072582
@@ -2854,20 +2829,6 @@ class WebGLRenderer {
28542829
28552830 this . copyTextureToTexture3D = function ( srcTexture , dstTexture , srcRegion = null , dstPosition = null , level = 0 ) {
28562831
2857- // support previous signature with source box first
2858- if ( srcTexture . isTexture !== true ) {
2859-
2860- // @deprecated , r165
2861- warnOnce ( 'WebGLRenderer: copyTextureToTexture3D function signature has changed.' ) ;
2862-
2863- srcRegion = arguments [ 0 ] || null ;
2864- dstPosition = arguments [ 1 ] || null ;
2865- srcTexture = arguments [ 2 ] ;
2866- dstTexture = arguments [ 3 ] ;
2867- level = arguments [ 4 ] || 0 ;
2868-
2869- }
2870-
28712832 // @deprecated , r170
28722833 warnOnce ( 'WebGLRenderer: copyTextureToTexture3D function has been deprecated. Use "copyTextureToTexture" instead.' ) ;
28732834
0 commit comments