<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Porting OpenGL from CVF to IVF in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816090#M45302</link>
    <description>&lt;DIV&gt;Greetings,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have a program which Im porting from compaq to intel visual fortran. So far, I've gotten the program to compile and link by changing all of the references of dfopngl and dfwin to ifopngl and ifwin respectively.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;However, once the programs main window is created, fwglCreateContext doesnt seem to work correctly. No error is returned, but the opengl calls simply don't display anything. Any thoughts? Anyone have a working example of an intel visual fortran project that works?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks,&lt;/DIV&gt;
&lt;DIV&gt;matthew&lt;/DIV&gt;</description>
    <pubDate>Fri, 21 Jan 2005 03:29:57 GMT</pubDate>
    <dc:creator>mparrott</dc:creator>
    <dc:date>2005-01-21T03:29:57Z</dc:date>
    <item>
      <title>Porting OpenGL from CVF to IVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816090#M45302</link>
      <description>&lt;DIV&gt;Greetings,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I have a program which Im porting from compaq to intel visual fortran. So far, I've gotten the program to compile and link by changing all of the references of dfopngl and dfwin to ifopngl and ifwin respectively.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;However, once the programs main window is created, fwglCreateContext doesnt seem to work correctly. No error is returned, but the opengl calls simply don't display anything. Any thoughts? Anyone have a working example of an intel visual fortran project that works?&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks,&lt;/DIV&gt;
&lt;DIV&gt;matthew&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jan 2005 03:29:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816090#M45302</guid>
      <dc:creator>mparrott</dc:creator>
      <dc:date>2005-01-21T03:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Porting OpenGL from CVF to IVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816091#M45303</link>
      <description>I've attached one that uses fwglCreateContext.  I didn't need to make any code changes when doing this port and haven't found any incompatibilities between the two compilers regarding OpenGL applications.</description>
      <pubDate>Fri, 21 Jan 2005 05:07:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816091#M45303</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2005-01-21T05:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Porting OpenGL from CVF to IVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816092#M45304</link>
      <description>&lt;DIV&gt;thanks.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;yeah, i've had quite a bit of trouble getting from cvf to ivf. then again, im pretty new to fortran and the code was written by someone else. for instance, all of the wgl calls were missing until dfopngl was changed. also, none of my resource files would work.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;another question though. when i run getdc in my program, many times it returns an integer which is negative? is this within range? also, what type should be used to store the rc and dc identifiers? right now im using integer(4)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;thanks again!&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;matthew&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jan 2005 05:15:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816092#M45304</guid>
      <dc:creator>mparrott</dc:creator>
      <dc:date>2005-01-21T05:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Porting OpenGL from CVF to IVF</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816093#M45305</link>
      <description>&lt;DIV&gt;hey steve,&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;many thanks for the example, the program is working now! turns out that i was missing the save attribute when declaring hrc and hdc.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;cheers,&lt;/DIV&gt;
&lt;DIV&gt;matthew&lt;/DIV&gt;</description>
      <pubDate>Fri, 21 Jan 2005 05:34:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Porting-OpenGL-from-CVF-to-IVF/m-p/816093#M45305</guid>
      <dc:creator>mparrott</dc:creator>
      <dc:date>2005-01-21T05:34:29Z</dc:date>
    </item>
  </channel>
</rss>

