Changeset 1821


Ignore:
Timestamp:
04/22/12 06:38:33 (14 months ago)
Author:
reyalp
Message:

remove unneeded buffer offsets

Location:
branches/reyalp-ptp-live/core
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-ptp-live/core/live_view.c

    r1818 r1821  
    146146    lv.vp.visible_height = vid_get_viewport_height_proper(); 
    147147 
    148     // TODO these will go away 
    149     lv.vp.visible_buffer_xoffset = 0; 
    150     lv.vp.visible_buffer_yoffset = 0; 
    151  
    152148    lv.bm.logical_width = ASPECT_XCORRECTION(camera_screen.width); 
    153149    lv.bm.logical_height = camera_screen.height; 
     
    162158    lv.bm.visible_width = lv.bm.logical_width; 
    163159    lv.bm.visible_height = lv.bm.logical_height; 
    164     // 
    165     // TODO will go away 
    166     lv.bm.visible_buffer_xoffset = 0; 
    167     lv.bm.visible_buffer_yoffset = 0; 
    168160 
    169161    lv.palette_type = vid_get_palette_type(); 
  • branches/reyalp-ptp-live/core/live_view.h

    r1818 r1821  
    7777    int visible_width; 
    7878    int visible_height; 
    79     // TODO these will go away 
    80     int visible_buffer_xoffset; 
    81     int visible_buffer_yoffset; 
     79 
    8280    int data_start;    // offset of data 
    8381} lv_framebuffer_desc; 
Note: See TracChangeset for help on using the changeset viewer.