Ignore:
Timestamp:
Dec 6, 2010, 9:59:28 PM (11 years ago)
Author:
Sven Rech
Message:

small keysearcher fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcher.cs

    r2171 r2183  
    241241        {
    242242            IsKeySearcherRunning = false;
    243             settings = new KeySearcherSettings(this, oclManager);
     243           
    244244            if (OpenCL.NumberOfPlatforms > 0)
    245245            {
     
    253253                oclManager.CreateDefaultContext(0, DeviceType.ALL);
    254254            }
    255             else
     255
     256            settings = new KeySearcherSettings(this, oclManager);
     257
     258            if (OpenCL.NumberOfPlatforms == 0)
    256259            {
    257260                settings.UseOpenCL = false;
Note: See TracChangeset for help on using the changeset viewer.