Rev 3343 | Rev 3664 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3618 | ||
---|---|---|---|
Line 173... | Line 173... | ||
173 | break; |
173 | break; |
174 | default: |
174 | default: |
175 | panic("Unexpected type.\n"); |
175 | panic("Unexpected type.\n"); |
176 | } |
176 | } |
177 | 177 | ||
- | 178 | fb_properties_t props; |
|
- | 179 | props.addr = fb_addr; |
|
- | 180 | props.fb_start = 0; |
|
- | 181 | props.x = fb_width; |
|
- | 182 | props.y = fb_height; |
|
178 | fb_init(fb_addr, fb_width, fb_height, fb_scanline, visual); |
183 | props.scan = fb_scanline; |
- | 184 | props.visual = visual; |
|
- | 185 | fb_init(&props); |
|
179 | } |
186 | } |
180 | 187 | ||
181 | /** @} |
188 | /** @} |
182 | */ |
189 | */ |