@@ -2558,17 +2558,6 @@ class WebGLRenderer {
2558
2558
2559
2559
this . copyFramebufferToTexture = function ( texture , position = null , level = 0 ) {
2560
2560
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
-
2572
2561
const levelScale = Math . pow ( 2 , - level ) ;
2573
2562
const width = Math . floor ( texture . image . width * levelScale ) ;
2574
2563
const height = Math . floor ( texture . image . height * levelScale ) ;
@@ -2588,20 +2577,6 @@ class WebGLRenderer {
2588
2577
const _dstFramebuffer = _gl . createFramebuffer ( ) ;
2589
2578
this . copyTextureToTexture = function ( srcTexture , dstTexture , srcRegion = null , dstPosition = null , srcLevel = 0 , dstLevel = null ) {
2590
2579
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
-
2605
2580
// support the previous signature with just a single dst mipmap level
2606
2581
if ( dstLevel === null ) {
2607
2582
@@ -2854,20 +2829,6 @@ class WebGLRenderer {
2854
2829
2855
2830
this . copyTextureToTexture3D = function ( srcTexture , dstTexture , srcRegion = null , dstPosition = null , level = 0 ) {
2856
2831
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
-
2871
2832
// @deprecated , r170
2872
2833
warnOnce ( 'WebGLRenderer: copyTextureToTexture3D function has been deprecated. Use "copyTextureToTexture" instead.' ) ;
2873
2834
0 commit comments