HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Ticket History
  • Next Change →

Changes between Initial Version and Version 1 of Ticket #452


Ignore:
Timestamp:
11/30/10 13:27:26 (5 years ago)
Author:
scottmc
Comment:

proper patch applied in r1229. Will send upstream now.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #452

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #452 – Description

    initial v1  
    1010 
    1111void SDL_BWin::DirectConnected(direct_buffer_info *info) { 
    12     switch (info->buffer_state & B_DIRECT_MODE_MASK) { 
    13         case B_DIRECT_START: 
    14         case B_DIRECT_MODIFY: 
    15             { 
    16                 int32 width = info->window_bounds.right - 
    17                     info->window_bounds.left + 1; 
    18                 int32 height = info->window_bounds.bottom - 
    19                     info->window_bounds.top + 1; 
    20                 SDL_PrivateResize(width, height); 
    21                 break; 
    22             } 
    23         default: 
    24             break; 
    25     } 
     12    switch (info->buffer_state & B_DIRECT_MODE_MASK) { 
     13        case B_DIRECT_START: 
     14        case B_DIRECT_MODIFY: 
     15            { 
     16                int32 width = info->window_bounds.right - 
     17                    info->window_bounds.left + 1; 
     18                int32 height = info->window_bounds.bottom - 
     19                    info->window_bounds.top + 1; 
     20                SDL_PrivateResize(width, height); 
     21                break; 
     22            } 
     23        default: 
     24            break; 
     25    } 
    2626} 
    2727 
    … …  
    2929 
    3030void SDL_BWin::DirectConnected(direct_buffer_info *info) { 
    31     switch (info->buffer_state & B_DIRECT_MODE_MASK) { 
    32         case B_DIRECT_START: 
    33         case B_DIRECT_MODIFY: 
    34             { 
    35                 int32 width = info->window_bounds.right - 
    36                     info->window_bounds.left; 
    37                 int32 height = info->window_bounds.bottom - 
    38                     info->window_bounds.top; 
    39                 SDL_PrivateResize(width, height); 
    40                 break; 
    41             } 
    42         default: 
    43             break; 
    44     } 
     31    switch (info->buffer_state & B_DIRECT_MODE_MASK) { 
     32        case B_DIRECT_START: 
     33        case B_DIRECT_MODIFY: 
     34            { 
     35                int32 width = info->window_bounds.right - 
     36                    info->window_bounds.left; 
     37                int32 height = info->window_bounds.bottom - 
     38                    info->window_bounds.top; 
     39                SDL_PrivateResize(width, height); 
     40                break; 
     41            } 
     42        default: 
     43            break; 
     44    } 
    4545} 
    4646}}} 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/