Skip to content
Snippets Groups Projects
Select Git revision
  • ffecf24ae1d1be25674573339d05e42b6d47ef2a
  • main default protected
2 results

GraphicsSystem.cs

Blame
    • Per-Morten Straume's avatar
      bbbe4efc
      Fix incorrect count in DrawMeshInstanced · bbbe4efc
      Per-Morten Straume authored
      The last Graphics.DrawMeshInstanced call is supposed to only render
      stragglers that don't fit in full batches. However, instead it 
      renders 1023 elements, rendering extra elements that shouldn't be there.
      This mistake was probably due to a copy and paste error.
      
      Fixed by introducing a stragglerCount to avoid calling % twice 
      and to give better clarity.
      bbbe4efc
      History
      Fix incorrect count in DrawMeshInstanced
      Per-Morten Straume authored
      The last Graphics.DrawMeshInstanced call is supposed to only render
      stragglers that don't fit in full batches. However, instead it 
      renders 1023 elements, rendering extra elements that shouldn't be there.
      This mistake was probably due to a copy and paste error.
      
      Fixed by introducing a stragglerCount to avoid calling % twice 
      and to give better clarity.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ResetPasswordController.php 844 B
    <?php
    
    namespace App\Http\Controllers\Auth;
    
    use App\Http\Controllers\Controller;
    use App\Providers\RouteServiceProvider;
    use Illuminate\Foundation\Auth\ResetsPasswords;
    
    class ResetPasswordController extends Controller
    {
        /*
        |--------------------------------------------------------------------------
        | Password Reset Controller
        |--------------------------------------------------------------------------
        |
        | This controller is responsible for handling password reset requests
        | and uses a simple trait to include this behavior. You're free to
        | explore this trait and override any methods you wish to tweak.
        |
        */
    
        use ResetsPasswords;
    
        /**
         * Where to redirect users after resetting their password.
         *
         * @var string
         */
        protected $redirectTo = RouteServiceProvider::HOME;
    }