~ubuntu-branches/ubuntu/trusty/vice/trusty

« back to all changes in this revision

Viewing changes to src/arch/os2/unused/video_gpi.c

  • Committer: Package Import Robot
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2013-07-28 20:38:23 UTC
  • mfrom: (1.2.5)
  • mto: This revision was merged to the branch mainline in revision 27.
  • Revision ID: package-import@ubuntu.com-20130728203823-w495rps5wuykespp
Tags: upstream-2.4.dfsg
ImportĀ upstreamĀ versionĀ 2.4.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
389
389
int video_canvas_set_palette(video_canvas_t c, const palette_t *p)
390
390
{
391
391
    int i;
 
392
    if (p == NULL) {
 
393
        return 0; /* no palette, nothing to do */
 
394
    }
392
395
    //    if (!(c->pbmi_initialized)) return;
393
396
    for (i=0; i<p->num_entries; i++) {
394
397
        c->palette[i].bRed  =p->entries[i].red;